Solved
Making a UART frame from ADC value WITH ASCII Control Character
Hello,
My aim is to send (from my nucleo board_F103+FTDI) somes ADC value from DMA.
Easy...
But i would like a frame like that (Windows Software need it):
<STX>ADC1;ADC2;ADC3<ETX><CR><LF>
I'm able to send data, no more...
uint16_t sensor_B =1234;
char str[10];
sprintf(str, "%u\r\n", sensor_B);
HAL_UART_Transmit_DMA(&huart1, (uint8_t*)str, strlen(str));Do you know the simplest way to do that ?