29 lines
472 B
C++
29 lines
472 B
C++
#pragma once
|
|
#include "my_fastled.h"
|
|
#include <list>
|
|
#include <vector>
|
|
#include "config.h"
|
|
#include "node.h"
|
|
#include "edge.h"
|
|
#include "corner.h"
|
|
|
|
|
|
extern std::vector<Node*> nodes;
|
|
extern std::list<Edge*> edges;
|
|
extern std::vector<Corner*> corners;
|
|
|
|
extern CRGB leds[LED_COUNT];
|
|
|
|
enum AnimationMode {
|
|
AM_CORNERS,
|
|
AM_FIRST_CORNER,
|
|
AM_NODES,
|
|
AM_FIRST_NODE,
|
|
AM_FLASH
|
|
};
|
|
|
|
extern AnimationMode mode;
|
|
extern AnimationMode temp_mode;
|
|
extern unsigned long temp_mode_until;
|
|
|