Robotistan / PicoBricks

Pico Bricks is a fantastic project development kit for STEM educators and makers of all levels
Other
70 stars 23 forks source link

WS2812 defined twice in picobricks.py #2

Closed ajkurtz closed 2 years ago

ajkurtz commented 2 years ago

The class WS2812 is defined twice in the picobricks.py file that was delivered on the hardware and the file in GitHub. The second one overrides the first and the methods in the second one don't match the instructions in the ebook linked to in the QR code (Pico-Bricks-ebook-7.pdf). It looks like the ebook on GitHub (Pico-Bricks-ebook-final.pdf) has removed the instructions that use the WS2812 class. Also, the autonomous_lighting_01.py example code in GitHub uses the wrong methods.