kopia lustrzana https://github.com/pimoroni/pimoroni-pico
9985daf56b
For both APA102 and WS2812 the pins used on the same PIO must be in the same range. The GPIO base offset applies to the whole PIO and not individual state machines. This means that for APA102 both data and clock must be in the same pin range, ie: either 16-48 inclusive or 0-31 inclusive. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
apa102.cpp | ||
apa102.hpp | ||
apa102.pio | ||
plasma.cmake | ||
ws2812.cpp | ||
ws2812.hpp | ||
ws2812.pio |