Hello. I am a newbie to this forum. First time user, just joined.
I want to send ASCII characters to COM port using say Turbo C. The recipient of the ASCII character is a PIC microcontroller.
And I want to also receive ASCII characters from COM port via Turbo C.
On the PIC side, I have a program that can send and receive ASCII from PC (via Hyperterminal) and it works.
But I want the PIC to talk to Turbo C, not Hyperterminal.
Does anyone know how to use Turbo C to receive and send ASCII characters to COM port?
A small but complete program to send say "Hello world" to COM port and receive message "I am here" from COM port and display it on PC screen would be great. Use say Baud rate of 9600.
Thanks in advance.
td
I want to send ASCII characters to COM port using say Turbo C. The recipient of the ASCII character is a PIC microcontroller.
And I want to also receive ASCII characters from COM port via Turbo C.
On the PIC side, I have a program that can send and receive ASCII from PC (via Hyperterminal) and it works.
But I want the PIC to talk to Turbo C, not Hyperterminal.
Does anyone know how to use Turbo C to receive and send ASCII characters to COM port?
A small but complete program to send say "Hello world" to COM port and receive message "I am here" from COM port and display it on PC screen would be great. Use say Baud rate of 9600.
Thanks in advance.
td