ISR(TIM0_OVF_vect) { TCNT0 = 230; if ((PINB & (1 << BUTTON)) !== 1) { // pressed, there was a bounce count++; if (count>2) { // made sure that the button is actually pressed lighting_mode = SOLID_MODE; // stopped changing colors } if (count>70) { // if you hold the button for over 1.5 seconds l...