add fountain animation

This commit is contained in:
Sean 2022-04-17 20:28:42 -04:00
parent a9ff478c8e
commit 4e72a85d49
6 changed files with 194 additions and 1 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) % 4;
return (state + 1) % 5;
}
// the interrupt function to display the leds (T2 = 8 bit timer)