I was hoping I could use JsError as in the file jshardware.c, where the call come from, maybe someone has a solution.
As you may see, I have tried with a lower value, to test that, so I could see that it worked.
I don't now if it work with different clockfreq, but try it, and let me know.
@Frida started
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.
I was hoping I could use JsError as in the file jshardware.c, where the call come from, maybe someone has a solution.
As you may see, I have tried with a lower value, to test that, so I could see that it worked.
I don't now if it work with different clockfreq, but try it, and let me know.