AnsweredAssumed Answered

Send ADC measurement to PC through USART

Question asked by puliafito.carlo on Oct 5, 2015
Latest reply on Oct 6, 2015 by puliafito.carlo
Hello,

my name is Carlo. I'm a student new to STM32 and MCUs in general.
What I'm trying to do is to send a 16-bit ADC value through USART to PC, using stm32f0. I found some troubles doing this since USART takes one byte each time whilst ADC1ConvertedValue is 16-bit.
I've tried to split a 16-bit value into two bytes but i don't know how to rejoin them to show the actual 16-bit result in the PC.

Does anyone have any suggestions ?
Thank you very much in advance.

Regards,
Carlo.

Outcomes