Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoPXL8 Library on RP2040 does not stop state machine on destruction #10

Open
MarcusGarfunkel opened this issue Mar 22, 2023 · 1 comment

Comments

@MarcusGarfunkel
Copy link

  • 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
Copy link
Author

I've created a pull request #11 for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant