yes sorry, exactly that. i shouldve specified.
this sketch is very nice actually! im trying to edit out the blinking motion it has to just one quick on to off. otherwise the way this toggles is great
im unfamiliar with this line and when i try to edit it to just high to low, the leds dont turn on at all.
ledState = ledState == HIGH ? LOW : HIGH; // toggle led state
digitalWrite( ledPins[currentLed], ledState);
vs what i edited:
if ( ledActive)
{
if ( currentMillis - timeStampButton >= timeOut)
{
// turn this led off
digitalWrite( ledPins[currentLed], LOW);
ledActive = false; // turn millis-timer off
}
previousMillisBlink = currentMillis;
ledState = ledState == HIGH, LOW; // toggle led state
digitalWrite( ledPins[currentLed], ledState);
}
}
im sure that last part is wrong
thank you for the example!