Open zombodotcom opened 7 years ago
I'm unable to reproduce the issue. How many LEDs are you using? What type of LEDs? What MCU? Have you made any changes to the code?
I am using a wemos d1 mini ( and nodemcu) with 300 ws2812b LEDs. No changes to the code, powering the leds off of 2 18650s with a TP4056.
I have been using this sketch on a nodemcu for over a month with no issues with a wall 5v power supply. So I am guessing it's probably from the portable power setup.
You might pull the latest and try again. I was seeing very intermittent resets. WDT reset is watch dog timer reset, which can happen if interrupts are disabled. I had disabled them in an attempt to fix intermittent flashing/stuttering. I might have improved/fixed it with commit 50aefd7d573f4af848990413b8ec08e4e8ea9c61.
The latest commit will likely negatively impact battery life, though.
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
Soft WDT reset
ctx: cont sp: 3fff2740 end: 3fff2950 offset: 01b0
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v09f0c112 ~ld ø
This issue comes up when the webserver tries to use
{ fallingRainbow, "Falling Rainbow" }, { risingRainbow, "Rising Rainbow" }, { rotatingRainbow, "Rotating Rainbow" },
{ fallingPalette, "Falling Palette" }, { risingPalette, "Rising Palette" }, { rotatingPalette, "Rotating Palette" },
removing loadSettings(); in void setup and the patterns { fallingRainbow, "Falling Rainbow" }, { risingRainbow, "Rising Rainbow" }, { rotatingRainbow, "Rotating Rainbow" },
{ fallingPalette, "Falling Palette" }, { risingPalette, "Rising Palette" }, { rotatingPalette, "Rotating Palette" },
solves the issue with no more reset loops