added rainbow corner animation

This commit is contained in:
Sean 2022-04-21 22:59:37 -04:00
parent c5e12398be
commit 5ce8892af1
2 changed files with 34 additions and 11 deletions

View file

@ -582,7 +582,7 @@ int currentTimer = 0;
int maxTimer = 6250; // 100ms delay / 16uS interrupt time
int nextState(int state) {
return (state + 1) % 8;
return (state + 1) % 9;
}
// the interrupt function to display the leds (T2 = 8 bit timer)