summaryrefslogtreecommitdiff
path: root/examples/hue_rotation/hue_rotation.ino
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hue_rotation/hue_rotation.ino')
-rw-r--r--examples/hue_rotation/hue_rotation.ino14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/hue_rotation/hue_rotation.ino b/examples/hue_rotation/hue_rotation.ino
new file mode 100644
index 0000000..2151618
--- /dev/null
+++ b/examples/hue_rotation/hue_rotation.ino
@@ -0,0 +1,14 @@
+#include <Colours.h>
+
+Colours colours(6,5,3);
+
+void setup() {
+}
+
+void loop() {
+ int h;
+ for (h=0;h<360;h++) {
+ colours.writeHSV(h,255,255);
+ delay(50);
+ }
+}