pico_python_ws2812b icon indicating copy to clipboard operation
pico_python_ws2812b copied to clipboard

I did a little bit of playin around

Open IanSMoyes opened this issue 4 years ago • 0 comments

I'm sorry, I'm VERY new to all this git hub stuff (I only recently rediscovered coding) so, if this is an inappropriate way to share my experiment, I'm sorry, send assassins to my home.

Anyway, I'm getting better at Python and thought I'd have a look at your library.

https://github.com/IanSMoyes/SpiderPi/blob/master/Lights/RPi_Pico/code/NeopixelPIO.py

I ported a couple of lines for CircuitPython instead of MicroPython (I prefer it), added support for GRB and RBGW LEDs, added support for autoshow & some general personal preference stuff.

I'm not sure if you can pass "pull_thresh" to "rp2.asm_pio" as a variable. If so, it would take out a LOT of repetition I added to accommodate the 4 colour lights.

I haven't been able to try it yet but. I'd love to hear your comments & feedback.

Thanks for all your hard work.

IanSMoyes avatar Mar 12 '21 18:03 IanSMoyes