Dear All,
I have used printf function for to write on serial UART1 but I want to use printf for write also UART0.
Is it possible to use printf for to write on two UART? If yes.... How do?
Thanks in advance
This has been discussed a large number of times on this forum. If you try the search function that is available in the upper right of this page, you should find ample of suggestions.
See "retarget.c", and lookup retargeting in the manuals.
Mr Velcro,
You need to edit a copy of the file retarget.c