From afc2ff4729403ffdc1f6c94242736bad012dcd1d Mon Sep 17 00:00:00 2001 From: benevpi <31006592+benevpi@users.noreply.github.com> Date: Tue, 19 Jan 2021 16:56:21 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9a8bb0b..2846c19 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # pico_ws2812b a library for using WS2812b leds (aka neopixels) with Raspberry Pi Pico +![neopixels in action]( +https://github.com/benevpi/pico_python_ws2812b/blob/main/pico_ws2812b.jpg) + + You'll first need to save the ws2812b.py file to your device (for example, open it in Thonny and go file > save as and select MicroPython device. Give it the same name). Once it's there, you can import it into your code. You create an object with the parameters number of LEDs, state machine ID and GPIO number in that order. so, to create a strip of 10 leds on state machine 0 and GPIO 0, you use: