B
Blog the Haggis
Guest
Hello,
I was wondering if someone could point me in the right direction regarding
RS-232 communication protocols, specifically to do with whether I need to
synchronise the computer and the circuit sending the data. Also whether I
need to include any start and stop bits on the data packet etc.
What I'm trying to do:
I want to get 8 mercury switches setting the states of a parallel loading
shift register, then to send this byte to the serial port (through a
line-driver to get the +ve/-ve RS-232 voltage levels). I believe it will be
fairly easy to get the Comport flags to load the register and initiate
transmission, but I am unsure of whether I need to send a clock signal or
any extra bits aside from the data.
If someone could enlighten me I'd really appreciate it,
-Duncan
I was wondering if someone could point me in the right direction regarding
RS-232 communication protocols, specifically to do with whether I need to
synchronise the computer and the circuit sending the data. Also whether I
need to include any start and stop bits on the data packet etc.
What I'm trying to do:
I want to get 8 mercury switches setting the states of a parallel loading
shift register, then to send this byte to the serial port (through a
line-driver to get the +ve/-ve RS-232 voltage levels). I believe it will be
fairly easy to get the Comport flags to load the register and initiate
transmission, but I am unsure of whether I need to send a clock signal or
any extra bits aside from the data.
If someone could enlighten me I'd really appreciate it,
-Duncan