I just got my first Arduino board. I am going to use it to interface with my wife’s car lock system.
Heres the code I’ve got so far.
for (analog2 = HIGH; counter <= 5000; counter + 5)
analog3 = HIGH; // fire siren
if (analog1 = HIGH); // look for disarm signal
analog3 = LOW;
analog4 = LOW;
Problem is I need a way to terminate the loop early if an external signal is recieved. Can anyone help me.