Hello Gordon,
Received the Espruino. What i nice device! But i think i've found a mem leak. Using 1v55.
The simple code:
// Callback function for din change
var cl=function(e) { if (e.state===true) { print("Test...\n"); } }; var wid=setWatch(cl,B12,{repeat: false, debounce: 20});
After uploading process.memory(); shows 1766 free.
Each buttonpress decreases the free mem by aprox. 2 bytes.
Regards
Sacha
@Sacha 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.
Hello Gordon,
Received the Espruino. What i nice device! But i think i've found a mem leak.
Using 1v55.
The simple code:
// Callback function for din change
After uploading process.memory(); shows 1766 free.
Each buttonpress decreases the free mem by aprox. 2 bytes.
Regards
Sacha