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

#24 Improve timer scaling for first bit plane #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

#24 Improve timer scaling for first bit plane #37

wants to merge 1 commit into from

Conversation

daveythacher
Copy link

@daveythacher daveythacher commented Mar 31, 2021

Warning I did not run any tests on this code. My apologies.

The code is a simple fix for making sure the first bit plane has enough time to shift out completely. It still limits the performance to 250Hz framerate. However for larger panels this ended up causing a problem potentially.

A macro was added which defines the max LED shift register clock. This effectively drives everything for these panels, so this is a nice clean number to base certain things on. The issue however is this derived from software so it will be dependent on processor speed. It does account for any differences in the compiler or processor architecture.

A faster processor will be capable of higher bandwidth. Future work is figuring out the limits of each architecture. Also scaling this performance against the processor clock. This was mentioned in #11.

…architecture. Needs testing. Currently sets all to 12MHz target.
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

Successfully merging this pull request may close these issues.

None yet

1 participant