-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathColors.h
31 lines (27 loc) · 851 Bytes
/
Colors.h
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
#ifndef COLORS_H
#define COLORS_H
// ------------------------------------------------------------------
// DEFINITIONS
// ------------------------------------------------------------------
#define INDEX_TURN_OFF -1
#define INDEX_COLOR_RED 0
#define INDEX_COLOR_GREEN 1
#define INDEX_COLOR_BLUE 2
#define INDEX_COLOR_PURPLE 3
#define INDEX_COLOR_YELLOW 4
#define INDEX_COLOR_WHITE 5
// ------------------------------------------------------------------
// PROTOTYPES
// ------------------------------------------------------------------
void initColors();
void turnOff();
void showColorWhite();
void showColorRed();
void showColorGreen();
void showColorBlue();
void showColorPurple();
void showColorYellow();
void showCustomColor(int r, int g, int b);
void blinkColor(int delayValue, int color);
void selectColorByIndexMode(int colorIndex);
#endif