This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using Printf statement for both serial ports

Hello All,

I am using MSC1212Y5 Microcontroller. It has two serial ports. I have directed printf to second serial port by changing putchar.c file in keil library. At the same time I am using first port for transmitting single characters only. i.e. 'T' ..'R'..etc. But whenever i try to use printf for both ports, of course by disabling one port for some time then it is not working..it sends data to only second serial port.

Parents Reply Children
No data