I have to write and read integers from the UART peripheral.
In what format does the UART transmits the integer? Is it in ascii? Even if I send characters as numbers (0 to 255) how is it transmitted?
Do I need to internally convert the data read from UART from ascii to int ?
I am confused over the answers from different blog. Could anyone suggest a link or provide answer.
I tried different things like programmed the board to continuously transmit the data. If I transmit the character from the board's UART to the putty, it displays in the putty as a character but it won't display in my c code written in linux. So what should be the format specifier?
Thanks in advance