From 1d841c9533a841b403940a6d766ff2503f3619b3 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 12 Nov 2009 22:59:08 +0100 Subject: basic example --- examples/hue_rotation/hue_rotation.pde | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/hue_rotation/hue_rotation.pde 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 colours(6,5,3); + +void setup() { +} + +void loop() { + int h; + for (h=0;h<360;h++) { + colours.writeHSV(h,255,255); + delay(50); + } +} -- cgit v1.2.3