-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathColor.h
More file actions
39 lines (34 loc) · 714 Bytes
/
Copy pathColor.h
File metadata and controls
39 lines (34 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
/*
Joe Mulhern 2017
PWM colors for strips. Make with RGB LEDs
*/
#ifndef Color_h
#define Color_h
#include "Arduino.h"
class Color {
public:
Color(int redPIN, int greenPIN, int bluePIN);
void red();
void green();
void blue();
void orange();
void lightgreen();
void lightblue();
void lightorange();
void darkmagenta();
void lightmagenta();
void lightcyan();
void yellow();
void indigo();
void cyan();
void magenta();
void white();
void off();
void pink();
void rainbow();
void Custom(int red, int green, int blue);
void full();
private:
int _redPIN, _greenPIN, _bluePIN;
};
#endif