Serial port questionby (no login)
I was wondering if anyone on the forum could help me with the following.
I have an X10 Motion Sensor at the back and front of the property and when triggered a W800RF32 receiver connected to COM1 detects the four bytes.
I also have a relay module connected to my parallel port.
Do any of you fellows know of a QBasic program that can capture these four bytes in such a way that they can be acted upon. I mean, for example:
If the four bytes received were (00 FF 0E F1) THEN OUT 888, 64. This would cause one of the relays to turn on the outside camera or any other device.
I am a retired Railroad worker in my 80's and trying desperately to get a handle on this, that's why I'm attempting to contact the younger generation.
Thank you very much for taking the time.