Adafruit_NeoPXL8 icon indicating copy to clipboard operation
Adafruit_NeoPXL8 copied to clipboard

NeoPXL8 Library on RP2040 does not stop state machine on destruction

Open MarcusGarfunkel opened this issue 1 year ago • 1 comments

  • 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 pio sm is claimed and started, the sm program is written, and a DMA IRQ handler is added. Upon destruction, the reverse of this process has been left out. MarcusEdit NeoPXL8.zip See edits to library files for a fix that seems to work for me.

MarcusGarfunkel avatar Mar 22 '23 05:03 MarcusGarfunkel