Coder Social home page Coder Social logo

Comments (6)

NimmLor avatar NimmLor commented on July 4, 2024

A friend of mine has noticed this issue too, I'll have to look into it what causes that issue.

from esp8266-fastled-iot-webserver.

WarDrake avatar WarDrake commented on July 4, 2024

I haven't figured out what causes the error, but I figured out the crash and random restart issue, it seems they are unrelated

Line 20 :
#define FASTLED_ALLOW_INTERRUPTS 0

if that line is commented out, the pm message shows on the console, but it doesn't affect the system, the nanoleafs have been working flawlessly for 24 hours now.

from esp8266-fastled-iot-webserver.

NimmLor avatar NimmLor commented on July 4, 2024

Ok that's weird, without the FASTLED_ALLOW_INTERRUPTS 0 some older LED-Strips flicker and glitch insane. That line fixed all glitching issues for a friend of mine.

from esp8266-fastled-iot-webserver.

NimmLor avatar NimmLor commented on July 4, 2024

I've searched a bit and found that it might be crash because the sdk doesn't get enough cpu time. The FASTLED_ALLOW_INTERRUPTS 0 blocks the wifi handling when the LEDs are controlled by the FastLED library.

A possible fix could be to decrease the value of the FRAMES_PER_SECOND variable, this would lead to a larger delays when updating the patterns.

from esp8266-fastled-iot-webserver.

WarDrake avatar WarDrake commented on July 4, 2024

Been playing around with the library today

//Serial.setDebugOutput(true);

This removed the pm error, I am not sending it on a pull request because I'm not sure if the visualizer uses it in some way.

but the pm message itself is no longer showing up once this line is commented, leading to no reboots either.

from esp8266-fastled-iot-webserver.

WarDrake avatar WarDrake commented on July 4, 2024

This is solved on the newest builds as long as you comment line 20.

from esp8266-fastled-iot-webserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.