summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/hue_rotation/hue_rotation.pde14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/hue_rotation/hue_rotation.pde b/examples/hue_rotation/hue_rotation.pde
new file mode 100644
index 0000000..2151618
--- /dev/null
+++ b/examples/hue_rotation/hue_rotation.pde
@@ -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);
+ }
+}