Hi Steve,
Thanks for the reply. I already have the line
TRISC=%00011111 in the setup of my code. I'm a bit confused with your response. Do I have to strip off each part, meaning the input pins separately from the output pins and then send them out as separate bytes on the serial send then handle each one separately on the receive end?
What I will be doing with the data sent from each card is to have the master card then send to a serial printer the date and time along with the location information which is derived from the card ID and which input on the card that triggered the input.
I am using a 4051 1of 8 analog multiplexer that feeds the signal to a pair of comparators that tells the 16F74 whether the loop is open or shorted. These two conditions are of importance as to the manner in which there would be a response.
The main portion of the program has been working great and I've just gotten my first 2 boards built and I'm getting ready for field testing. Just working on further enhancements.
If it would help for me to send my code listing, let me know & I'll attach it.
Thanks again, Steve.
BobK.




Bookmarks