-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenFrame.h
More file actions
45 lines (38 loc) · 714 Bytes
/
screenFrame.h
File metadata and controls
45 lines (38 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include <HTTPClient.h>
#include "frameLed.h"
#include "scheduler.h"
#ifndef SCREEN_FRAME
#define SCREEN_FRAME
#endif
enum General_Mode
{
MODE_FRAME,
MODE_SECTION,
NUM_MODES_GENERAL
};
enum Frame_Mode
{
MODE_FRAMING,
MODE_FRAME_PULSE,
MODE_FRAME_BLINK,
MODE_FRAME_BOTH_SIDES,
NUM_FRAME_MODES // This is a trick to get the number of modes
};
enum Section_Mode
{
MODE_SECTION_BLINK,
MODE_SECTION_SCROLL,
MODE_SECTION_CENTER,
NUM_MODES_SECTION
};
enum Section_Positions
{
TopLeft,
TopRight,
BottomLeft,
BottomRight,
NUM_SECTION_POSITION
};
// Task Scheduler called in the Loop function
TaskScheduler scheduler;
bool suspendAnimations = false;