added planar spin animation

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