Ok, here's a strange situation, or maybe not so strange for some more experienced than I. I have two identical devices running identical programs. The devices send an IR signal, and then look for an IR input from the other device. I thought about the possibility of the program timings meshing up and not detecting the other device, but I thought at the speed these things are running, it would not be a problem. Well, I think it is a problem now. There are cycles of about 10 seconds or so when neither will accept an input from the other. I'm thinking the programs are meshed up and they're both looking for inputs at the same time. Is that possible?
If so, how can I fix this? It would be easy if the 10F had interrupts, but it doesn't and I'm dedicated to using the 10F. Is there some crafty way to ensure the program timings are not meshed up and looking for inputs at the same time?
I hope I'm making sense, it makes sense in my mind.
If so, how can I fix this? It would be easy if the 10F had interrupts, but it doesn't and I'm dedicated to using the 10F. Is there some crafty way to ensure the program timings are not meshed up and looking for inputs at the same time?
I hope I'm making sense, it makes sense in my mind.