Added HSV example

develop
blaz-r 2021-07-18 14:56:04 +02:00
rodzic 11eac97d4f
commit 05be57279b
1 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -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