summaryrefslogtreecommitdiff
path: root/color.h
blob: f39e98666fd1e12f861b1bb4a6e0a4b9d6f799f8 (plain)
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
#define LED_RED (1U << 1)
#define LED_BLUE (1U << 2)
#define LED_GREEN (1U << 3)
#define RED_TF1 1
#define YELLOW_TF1 2
#define GREEN_TF1 3
#define RED_TF2 4
#define YELLOW_TF2 5
#define GREEN_TF2 6
#define RED_TF3 7
#define YELLOW_TF3 8
#define GREEN_TF3 9
#define PORTF GPIO_PORTF_DATA_R
#define RED 1
#define YELLOW 2
#define GREEN 3
// #define BLUE 2
// #define MAGENTA 4
// #define CYAN 5
// #define WHITE 7


void set_color(uint8_t color);

// void toggle_color(uint8_t color);

void reset_color();