As the title says... Chat on...

User avatar
By guttso
#18144 Hi,
I have some questions while work with NodeMCU, thank you in advance for your answers or your information.
Can we know the reason make NodeMCU reboot? Cause by an exception or by unplug power? Is there any reason make NodeMCU restart?
User avatar
By BlueAnt
#18147 I agree, a reason for restart will be very handy.

I sit with the same problem where I am counting pulses using a GPIO interrupt together with the FlashMod functionality to keep the heap usage to a minimum. I report on the pulses counted and heap size every 2 minutes using the print command.

After some time, it varies from minutes to hours, the ESP resets, initializes and start counting from zero again. I get some garbage feedback that must meet something if it can be interpreted to pinpoint the cause.