add shift_squares animation

This commit is contained in:
Sean 2022-04-16 22:22:26 -04:00
parent 0a36308aa9
commit a9ff478c8e
3 changed files with 7 additions and 2 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) % 3;
return (state + 1) % 4;
}
// the interrupt function to display the leds (T2 = 8 bit timer)