Description
-
Arduino board: INSERT ARDUINO BOARD NAME/TYPE HERE
Raspberry Pi Pico -
Arduino IDE version (found in Arduino -> About Arduino menu): INSERT ARDUINO
VERSION HERE
Arduino IDE 2.0.4 -
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): LIST REPRO STEPS BELOW
When instantiating a NeoPXL8 object, a NeoPixel object is automatically instantiated. Unfortunately, the claiming of a pio sm is done in the constructor of the NeoPixel, when in this case it is not necessary. The NeoPXL8 constructor creates its own sm and whatnot. This causes a waste of a sm.
MarcusEdit NeoPixel.zip
See edits to library files for a fix that seems to work for me.
Example script that reproduces issue:
2023_03_21_NeoPXL8_Issues_V0_005.zip