SurferTim:
I agree with PaulS. I also gave up guessing shortly after starting to program. That was in 1983. Note that number is not the correct format for a military 24 hour time.Add a Serial.prinln call to this if condition like I did below. Does it display "Changed" on the serial monitor when you think it should have changed?
if ((v1 != IO1DigitalVals[i]) || (v2 != IO2DigitalVals[i]) || (v3 != IO3DigitalVals[i])) {
IO1DigitalVals[i] = v1;
IO2DigitalVals[i] = v2;
IO3DigitalVals[i] = v3;
evt = 1;
// Here is a Serial debug message
Serial.println("Changed");
}
I tried it. Only loops once. Prints out "Changed" once and after that nothing happens! See the attached screen shot.
