-
Notifications
You must be signed in to change notification settings - Fork 343
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
serial_conrol crashes at <255 LEDs #330
Comments
You've run out of memory. An Arduino only has 2048 bytes of dynamic memory, and with the serial_control sketch there just isn't enough memory to accommodate 300 LEDs. You can reduce the number of segments available by changing your WS2812FX instantiation to this: WS2812FX ws2812fx = WS2812FX(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800, 1, 1); which will free up some memory and allow you to drive 300 LEDs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an LED strip with 300 LEDs. I wat to control it through the serial monitor. Everything works just fine when I use only 255 LEDs or less, but as soon as I use more, everything is black.
P. S.: auto_mode_cycle.ino works with 300 LEDs.
The text was updated successfully, but these errors were encountered: