I just inlined the Amperka module (and made a version of ledHandling) and uploaded, but it uploads just fine for me with the latest EspruinoWiFi firmware:
I can't see anything in there that'd cause problems either - unless there was loads of water (100ml/sec) flowing through your water flow sensors.
Can you try calling require("Storage").eraseAll()? It's possible that you had some code saved (with 'save on send, even after reset') that's doing something in the background that is causing problems.
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 just inlined the Amperka module (and made a version of
ledHandling
) and uploaded, but it uploads just fine for me with the latest EspruinoWiFi firmware:I can't see anything in there that'd cause problems either - unless there was loads of water (100ml/sec) flowing through your water flow sensors.
Can you try calling
require("Storage").eraseAll()
? It's possible that you had some code saved (with 'save on send, even after reset') that's doing something in the background that is causing problems.