Code Monkey home page Code Monkey logo

Comments (3)

markszabo avatar markszabo commented on July 28, 2024

If I understand correctly you are holding the button down, which means constantly sending codes. I think the ESP just can not keep up the pace receiving all of them, and that is the reason of the reset.
Also I believe that there isn't too many use-cases where you want to hold down the button on the remote for more then 1-2 seconds, and even then, you can simply write your code without delay. So in my opinion this is not something where we should put much effort to investigate the real cause. (Although it is kinda strange behavior. Have you tried it with really small delay, let's say 1 ms?)

from irremoteesp8266.

renno-bih avatar renno-bih commented on July 28, 2024

Instead of using delay to block some parts of my code (for example for LED to blink when receiving code) I used elapsedMillis library. Now it works.
btw, it works if delay is under 40ms.

from irremoteesp8266.

roidayan avatar roidayan commented on July 28, 2024

issue not reproducing with current code.

from irremoteesp8266.

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.