I would like my LEDs to turn on immediately as the pulse animation happens in the ring.
So given that at the moment you get:-
The problem is that the neopixel ring pulses after the green or red LED has completed its temporary flash
Then replace:-
if (pressed)
{
if(buttnum == 5) {
//Serial.println("button1");
digitalWrite(ledPinON, HIGH);
delay(1000);
digitalWrite(ledPinON,LOW);
brightenON();
darkenON();
}
with
if (pressed)
{
if(buttnum == 5) {
//Serial.println("button1");
digitalWrite(ledPinON, HIGH);
brightenON();
darkenON();
digitalWrite(ledPinON,LOW);
}
and likewise for the other buttnum vaalue