2021-01-03 16:12:47 +00:00
|
|
|
#pragma once
|
2021-01-06 10:51:11 +00:00
|
|
|
#include "my_fastled.h"
|
2021-01-03 16:12:47 +00:00
|
|
|
#include <list>
|
2021-01-04 11:44:41 +00:00
|
|
|
#include <vector>
|
2021-01-03 16:12:47 +00:00
|
|
|
#include "config.h"
|
|
|
|
#include "node.h"
|
|
|
|
#include "edge.h"
|
|
|
|
#include "corner.h"
|
|
|
|
|
|
|
|
|
2021-01-06 10:51:11 +00:00
|
|
|
extern std::vector<Node*> nodes;
|
2021-01-03 16:12:47 +00:00
|
|
|
extern std::list<Edge*> edges;
|
2021-01-04 11:44:41 +00:00
|
|
|
extern std::vector<Corner*> corners;
|
2021-01-03 16:12:47 +00:00
|
|
|
|
2021-01-06 10:51:11 +00:00
|
|
|
extern CRGB leds[LED_COUNT];
|
|
|
|
|
|
|
|
enum AnimationMode {
|
|
|
|
AM_CORNERS,
|
2021-01-08 10:30:10 +00:00
|
|
|
AM_FIRST_CORNER,
|
|
|
|
AM_NODES,
|
|
|
|
AM_FIRST_NODE,
|
|
|
|
AM_FLASH
|
2021-01-08 04:54:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern AnimationMode mode;
|
|
|
|
extern AnimationMode temp_mode;
|
|
|
|
extern unsigned long temp_mode_until;
|
|
|
|
|