ok, I have this project I am working on, and I could use a little help, if anyone is willing. Some background first.
What I am doing is modeling a prison and its security system. There is actually a physical model for the prison. There are various circuits in the model that indicate if a security point has been breached. For example if the fence is touched then the circuit monitoring the fence will send a signal. I want the signal to be sent to a serial interface to a computer, and this is where I am stuck. If the circuit sends a high bit to the serial port when the fence is breached.. how do I read from the serial port to determine this has happened? Can you send a single bit to the serial port.. if its high then you have a security breach, if its low everything is fine? Any tutorials on reading from the serial port would be great.