Commit cce77607 authored by schneider's avatar schneider
Browse files

Update ws2812.rst

parent 55eab5a9
Pipeline #5184 passed with stages
in 1 minute and 47 seconds
......@@ -21,6 +21,8 @@ The ``ws2812`` module controls LEDs of the WS2812 type. Just as the ``leds`` mod
import color, time, ws2812, gpio
gpio.set_mode(gpio.WRISTBAND_2, gpio.mode.OUTPUT)
i = 0
while True:
col1 = color.from_hsv(i % 360, 1.0, 0.1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment