Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 months ago.
Writing binary data out UART
I am trying to send a simple count out a UART. The data needs to be binary. Not converted to ASCII.
I am trying to send 16 bit and 32 bit unsigned int's out through the UART. I understand that they will be broken up into 8 bit chumks. I have tried type casting and using "UNION". In both cases, the printf statement will not send 0x00.
Any help would be appriciated