Currently i am using vb6 mscomm to do the rs232 serial communication. I am try to interface the computer with a PIC. I would like to use hardware handshaking to control the flow.
Currently, i am trying to make the handshaking works between two computers.
When the sending computer sends RTS, the receiving computer will display RTS received and prompt user to send back the CTS signal to the sender. Can this be done by using timer?
Is it possible to alter the pulse width of the RTS signal from the computer? Is it possible to change it by using a timer?
with the pic you can simply use the cts for permit at the pc to send the rs232 string
is not need timer, you use cts as a switch.
The only, but not little problem (that i haven't solve), is that when you want stopped the data from PC, and for this you change cts level, the pc don't stop immediatly, but only when the pc'buffer is empty
IIRC, MSComm component has property that can be monitored for every "charater received event" (maybe the right term is "char buffer full"). Try to use that, it's simpler to implement. I just forgot the details, I've been implementing such software a long time ago :|