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

Updating buffer slow #150

Open
tuorpete opened this issue May 4, 2023 · 0 comments
Open

Updating buffer slow #150

tuorpete opened this issue May 4, 2023 · 0 comments

Comments

@tuorpete
Copy link

tuorpete commented May 4, 2023

Hi all,

I am trying to make a display with neopixels. 1024 of those to be exact. I've been trying to use only one channel so far. For some reason I've been able to get GPIO pin 10 to work on my raspberry pi 3. The data transfer to leds work within a small error but the time between takes a long time. Time to send data to leds according to oscilloscope takes about 31ms but to update the library's buffer takes at least 125ms.
What I do is I unpack frames from a gif file. Put the frames to a queue and in another thread take those frames and put them to neopixel object. I have tried with loop and directly. I have tried to put the frame aquiring and showing to a separate processa but at most I have gotten about 17fps. Theoretically I should be able to get closer to 30fps if it wasn't for the time between data sendings.
Is there anything to do besides change to multiple gpios to update the big screen faster?

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