adafruit / Adafruit_NeoPixel

Arduino library for controlling single-wire LED pixels (NeoPixel, WS2812, etc.)
GNU Lesser General Public License v3.0
3.06k stars 1.27k forks source link

Crash on ESP8266 if number of pixels is too high #132

Closed casparom closed 7 years ago

casparom commented 7 years ago

Summary: I compiled and run the strandtest script on my ESP8266 board with the number of pixels changed from the default 60 to 300 and that caused the chip to do a soft reset every couple of seconds.

Steps to reproduce:

  1. Open the strandtest script
  2. Change the number of pixels from 60 to 300
  3. Compile and upload the script to ESP8266
  4. Start the ESP8266 (dont need to attach LEDs for reproducing) RESULT: soft reset is performed every couple of seconds.
ladyada commented 7 years ago

this is a side effect of the ESP8266 RTOS which is not open source. there is no fix :)

casparom commented 7 years ago

Do you know what is causing this exactly or if there is a workaround?

ladyada commented 7 years ago

there is no workaround, try dotstar LEDs :)

myst729 commented 8 months ago

there is no workaround, try dotstar LEDs :)

So this lib can also drive DotStar? The board uses APA102 LEDs which were not mentioned.