diff options
Diffstat (limited to 'examples/hue_rotation')
-rw-r--r-- | examples/hue_rotation/hue_rotation.ino | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/hue_rotation/hue_rotation.ino b/examples/hue_rotation/hue_rotation.ino deleted file mode 100644 index 00a48d7..0000000 --- a/examples/hue_rotation/hue_rotation.ino +++ /dev/null @@ -1,27 +0,0 @@ -/* - * hue_rotation - Cycle an RGB LED through hue values. - * Copyright 2009, 2013 Elena Grandi - * - * This work is free. You can redistribute it and/or modify it under the - * terms of the Do What The Fuck You Want To Public License, Version 2, - * as published by Sam Hocevar. See the examples/wtfpl-2.txt file - * for more details. - */ - -#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); - } -} |