rp2: Neopixel library and docs
Posted: Mon Sep 13, 2021 2:33 pm
The online doc for the rp2 has a quickref for neopixel:
pointing https://docs.micropython.org/en/latest/ ... 106-driver
I understand there is a major refactoring going on for this documenation, but I don't see how/if there is a module level support for neopixel at the moment. The code above does not work and the neopixel module doesn't seem to be frozen (has never been - i tested every release until 1.14)
So if there was a module for neopixel, where would I find it? The official driver https://github.com/micropython/micropyt ... eopixel.py
now requires an implementation for machine.bitstream - not really ideal since I'd love to use the PIO...
I'm aware of the PIO's code snippets (they work!), but would prefer to use the neopixels in the same API as the standard neopixel module that are available for other MCU's.
So my current assumption is to use the driver code mentioned above, copy / paste it and modify the write() so that it will work with the pico's PIO...
As you might have guessed, I'm basically a bit lost at the current state of "official micropython + rp2 + neopixel".
pointing https://docs.micropython.org/en/latest/ ... 106-driver
I understand there is a major refactoring going on for this documenation, but I don't see how/if there is a module level support for neopixel at the moment. The code above does not work and the neopixel module doesn't seem to be frozen (has never been - i tested every release until 1.14)
So if there was a module for neopixel, where would I find it? The official driver https://github.com/micropython/micropyt ... eopixel.py
now requires an implementation for machine.bitstream - not really ideal since I'd love to use the PIO...
I'm aware of the PIO's code snippets (they work!), but would prefer to use the neopixels in the same API as the standard neopixel module that are available for other MCU's.
So my current assumption is to use the driver code mentioned above, copy / paste it and modify the write() so that it will work with the pico's PIO...
As you might have guessed, I'm basically a bit lost at the current state of "official micropython + rp2 + neopixel".