add trifade animation

This commit is contained in:
Sean 2022-04-18 20:31:30 -04:00
parent c9479eaee8
commit 86376ae168
5 changed files with 70 additions and 4 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) % 6;
return (state + 1) % 7;
}
// the interrupt function to display the leds (T2 = 8 bit timer)