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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
My program reads serial from one port by using getc() from a byte stream and putc() to other serail port. When getc() get 0x0A from byte stream , it will automatic add 0x0D infont of 0x0A when I use putc to printout.
How I can stop the automatic add 0x0D when it get 0x0A?