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

Adding QT-Py onboard neopixel to pins.h #23

Open
lutzray opened this issue May 14, 2023 · 0 comments
Open

Adding QT-Py onboard neopixel to pins.h #23

lutzray opened this issue May 14, 2023 · 0 comments

Comments

@lutzray
Copy link

lutzray commented May 14, 2023

I had to ditch the usual Adafruit_NeoPixel library for my project so I tweaked pins.h, adding for ADAFRUIT_QTPY_M0:

&sercom3, SERCOM3, SERCOM3_DMAC_ID_TX, 11, SPI_PAD_2_SCK_3, PIO_SERCOM_ALT,

to the sercomTable[] values. Now I can DMA drive the NeoPixel without interfering with my code (see context).

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