Skip to content
Snippets Groups Projects
Commit cce77607 authored by schneider's avatar schneider
Browse files

Update ws2812.rst

parent 55eab5a9
Branches
Tags
No related merge requests found
Pipeline #5184 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment