Dot matrix audio spectrum visualiser based on an stm32f107 STM eval board and several chained MAX2719 drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
stm32f107-audio-dotmatrix-v.../Src/utils.c

19 lines
361 B

8 years ago
//
// Created by MightyPork on 2.9.16.
//
#include <string.h>
#include "stm32f1xx_hal_conf.h"
#include "adc.h"
#include "tim.h"
#include "usart.h"
#include "utils.h"
void uart_print(const char *string)
{
HAL_UART_Transmit(&huart1, (char*)string, (uint16_t) strlen(string), 10);
// Stop ADC and the timer
HAL_ADC_Stop(&hadc1);
HAL_TIM_Base_Stop(&htim3);
}