Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
For a full reference visit the Markdown syntax.
Posted by @midler
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello,
I am quite new to Espruino, (was similar to Arduino) and I really like Espruino more than Arduino.
So, I have written a simple code from examples -
This code works really well. It reads signals and does his job. But, when I press button for 50 or 60 times, board restarts and says -
I know that cause: 4 is watchdog reason. Also I know that ES8266 is not such powerful board to handle working on big data. And also I know that when it turns led, watchdog can trigger at that moment and if many of those situations will be, buffer simply goes full.
So, my question is - how I can fix this issue so that if I will press button for 500 times restart must not appair? Something that will stop watchog receiving data when board does another operations? I tried to do this with transistor - when I pressed button and code was recognized, transistor was shutting down IR receiver, but the problem was same.