blob: 6e57069368aa4f61324772f3098f65dbde052902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <Colours.h>
Colours colours(6,5,3);
// For common cathode RGB LEDs comment the line above and uncomment
// the one below.
//Colours colours(6,5,3,true);
void setup() {
}
void loop() {
int h;
for (h=0;h<360;h++) {
colours.writeHSV(h,255,255);
delay(50);
}
}
|