Skip to content

Maximum LED count #489

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

You must be logged in to vote

See this Wiki FAQ on the topic

Max count is limited by memory in most cases. RGBW LEDs will require 4 bytes per pixel, so 600 x 4 = 2400bytes to store the strip data. Looks like the MKRZero has 32K. If you use the Arduino IDE, when you compile your sketch it will give your the static memory used by your sketch and what is left over, the memory for the LEDs will be allocated using the left over. But other libraries may also use dynamic allocation; check with them.

Global variables use 2104 bytes (6%) of dynamic memory, leaving 30664 bytes for local variables. Maximum is 32768 bytes.

You can do multiple strips, but since it is bitbang method (meaning no special hardware support and that it…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Makuna
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