Skip to content

Performance in animations for longer strips #456

Answered by Makuna
flonatur asked this question in Q&A
Discussion options

You must be logged in to vote

What platform are you building for? 20ms to do that work on ANY Arduino platform doesn't make sense; there is something else going on.

Please provide a minimum sketch that can demonstrate the problem; since what you typed above is a fragment and can imply other issues and solutions. No need to include any timing capture unless the platform inherently supports cycle counting as I will just put in a IO PIN high/low and use a logic analyzer to capture timing.

Having the object initialized at another time like your buffer suggestion, should be no different in timing if you correctly include that code into the timing equation. Actually, it should be worse, as now there is an extra copy for pix…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flonatur
Comment options

Answer selected by flonatur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants