So I have the nordic thingy52 with espruino 1v98 since I can't flash newer versions due to locked bootloader.
Anyways, I wrote a small program to run on it to basically collect some sensor data and store them in typed arrays in the ram, and a small data extraction function based on some examples from espruino.
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.
Hey guys.
So I have the nordic thingy52 with espruino 1v98 since I can't flash newer versions due to locked bootloader.
Anyways, I wrote a small program to run on it to basically collect some sensor data and store them in typed arrays in the ram, and a small data extraction function based on some examples from espruino.
Everything actually works great, the problem I'm having is when using the espruino NPM package(https://www.npmjs.com/package/espruino).
Im using the example to run expresion function on the device.
And on first call it works great and returns data to my app, however when I do the same call again I get unable to connect error:
And basically it does this until I stop and start the nodejs app again.
Thank you.