Initial commit

This commit is contained in:
2025-12-13 03:36:06 +01:00
commit b424321bc0
62 changed files with 19669 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#ifndef ANIMATIONFUNCTIONS_H
#define ANIMATIONFUNCTIONS_H
#include <Arduino.h>
#include "wordclock_constants.h"
extern bool spiral_direction; // Direction of sprial animation
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_heart_animation(void);
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 */