greekrookie
Newbie level 1
Hello everybody!
I would like your advice on the following subject :
I have connected a PIC microcontroller to a PC through a 9-pin serial port RS-232, using a MAX-232 as a "bridge".
I want to send just one electric signal ( pulse ) from the PC to the microcontroller using the number 3 pin of the RS-232 ( TXD ) and receive again just one signal from the microcontroller through the number 2 pin of the RS-232 ( RXD ).
How can I do that using the MSComm1 control?
Any code samples? any links?
Thank you all in advance.
I would like your advice on the following subject :
I have connected a PIC microcontroller to a PC through a 9-pin serial port RS-232, using a MAX-232 as a "bridge".
I want to send just one electric signal ( pulse ) from the PC to the microcontroller using the number 3 pin of the RS-232 ( TXD ) and receive again just one signal from the microcontroller through the number 2 pin of the RS-232 ( RXD ).
How can I do that using the MSComm1 control?
Any code samples? any links?
Thank you all in advance.