add trifade animation
This commit is contained in:
parent
c9479eaee8
commit
86376ae168
5 changed files with 70 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue