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

LEDs wrong behavior #482

Open
TimFins opened this issue Dec 9, 2021 · 1 comment
Open

LEDs wrong behavior #482

TimFins opened this issue Dec 9, 2021 · 1 comment

Comments

@TimFins
Copy link

TimFins commented Dec 9, 2021

Hello there,

I have the following problem:
I try to make one ws2812 LED from sparkfun work with this library via the SPI pin 10. Of course SPI is enabled and the CPU Freq and CPU min is set to the right value in the boot data. I use rapsberry pi 4 for this but the LEDs simply don't get the right colors. They are mostly white and won't turn off. I try the strandtest.py example for python. I also thought about DMA channels that are already in use and tried many of them but that doesn't work for me. I tried the ones that shouldn't be used default but also can't really test this.
Furthermore I have the problem that the second LED won't do anything even when I change the LED count to 2. But that shouldn't be the first topic first.
I also send you a picture of my wiring but this shouldn't cause the problem...

Using PWM won't work for me because I will also need sound output...

Greetings and thanks a lot if you can help!!!
Tim
Uploading IMG_20211209_110005.jpg…

@Xartrick
Copy link
Contributor

Hi @TimFins!

I cannot help you regarding SPI as I never used it but in the meantime, you might be able to switch to PWM and use an USB soundcard to output sound.

PS : Your uploaded image link is broken.

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

2 participants