I'm writing a program in C++ that is driven by events that occur externally to the computer. As far as the program is concerned the event is just a change from false to true and I figure the simplest transmission mechanism would be over a single pin on the serial port (as the only other ports free are USB).
How would I go about getting my program to be interrupted when a wire on the serial in goes high?
As I'm only using the port for simplex communication can I ignore the handshaking usually used with the serial port?
Thanks in advance, Matt.