Initial
This commit is contained in:
20
include/animationfunctions.h
Normal file
20
include/animationfunctions.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef ANIMATIONFUNCTIONS_H
|
||||
#define ANIMATIONFUNCTIONS_H
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
enum Direction
|
||||
{
|
||||
RIGHT,
|
||||
LEFT,
|
||||
UP,
|
||||
DOWN
|
||||
};
|
||||
|
||||
Direction next_direction(Direction dir, int d);
|
||||
int random_snake(bool init, const uint8_t len, const uint32_t color, int numSteps);
|
||||
int random_tetris(bool init);
|
||||
int draw_spiral(bool init, bool empty, uint8_t size);
|
||||
void show_digital_clock(uint8_t hours, uint8_t minutes, uint32_t color);
|
||||
|
||||
#endif /* ANIMATIONFUNCTIONS_H */
|
||||
Reference in New Issue
Block a user