I was looking at the blink without delay sketch and I was trying to modify it so the LED would start blinking after 1000 ms. I changed the
previousMillis variable to 1000, but the program didn't change. In fact, it doesn't seem to change for any value of
previousMillis. I thought that this would change the if statement:
if (currentMillis - previousMillis >= interval)
because 2000ms would have to pass for
currentMillis - previousMillis to be equal to 1000ms (
interval). What am I missing?