I am having an issue I am hoping someone can help with.
I think it’s a memory leak or a memory error, but I’m not really sure, and I’m not sure how to fix it. Hardware – Wemos D1 Mini, and D1 Mini Motor Shield.
The code can be found here: https://gist.github.com/kd8bxp/ac90719917e9e9590f46598dc0cb1c07

What I’m trying to do is count a motor encoder, The sketch does run for a few seconds (maybe 5 or 6 seconds, errors out, sometimes it restarts, most of the time it just stops). I am attempting to test my encoder and counting method.
I have seen the ESP8266 do something like this before and adding yield() fix it in the past – but this looks like a different type of error to me (very long error output), and I’m just not sure how to fix it.
Thanks in advance….

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha loading...