add fountain animation
This commit is contained in:
parent
a9ff478c8e
commit
4e72a85d49
6 changed files with 194 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue