-
Notifications
You must be signed in to change notification settings - Fork 45
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
apa102 module not implemented in firmware - potential fix #3
Comments
Best not to use the HW SPI as it is also defined in tft_config.py for use with st7735. Better to use SoftSPI instead. |
Maybe this SPI is already occupied by the screen. Modifying the SPI index number may solve it. |
I did try using the other SPIs. could you provide a working example using one of the other HW SPIs ? |
SPI0 has been occupied by flash, you can use SPI1 or SPI2 or directly use the ready-made driver library |
Ah yes, FastLED, but I'm using micropython. I can't get SPI1 to work though, it returns with invalid configuration... |
Thank you for the hint. I use |
apa102 module is not available in firmware.
Uploading a generic Dotstar driver (https://github.com/RobertJBabb/micropython_generic_apa102/blob/master/generic_dotstar.py) allows the LED to be accessed easily like so:
The text was updated successfully, but these errors were encountered: