summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2009-11-12 22:59:08 +0100
committerElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2009-11-12 22:59:08 +0100
commit1d841c9533a841b403940a6d766ff2503f3619b3 (patch)
treeac76a15eb72c855450eba32059ca78928e12ecd0
parent2692c4107384fc680f1df32a12b821d79a060e00 (diff)
basic example
-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);
+ }
+}