digi001
Full Member level 5
C Code for communications between PCB and computer?
I need to setup a communications between a microcontroller and a PC. They are connected via RS232 UARTs.
The drivers are written and I can use stdio like printf, scanf etc.
If I want the message to require a preamble '%' and end with a '\r\n' , how would I code this?
Are there any examples out there?
I need to setup a communications between a microcontroller and a PC. They are connected via RS232 UARTs.
The drivers are written and I can use stdio like printf, scanf etc.
If I want the message to require a preamble '%' and end with a '\r\n' , how would I code this?
Are there any examples out there?
Last edited: