added rainbow corner animation
This commit is contained in:
parent
c5e12398be
commit
5ce8892af1
2 changed files with 34 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue