diff --git a/examples/smoothRainbow.py b/examples/smoothRainbow.py new file mode 100644 index 0000000..efe8baa --- /dev/null +++ b/examples/smoothRainbow.py @@ -0,0 +1,14 @@ +# Example showing use of HSV colors +import time +from neopixel import Neopixel + +numpix = 60 +strip = Neopixel(numpix, 0, 0, "GRB") + +hue = 0 +while(True): + color = strip.colorHSV(hue, 255, 150) + strip.fill(color) + strip.show() + + hue += 150 \ No newline at end of file