You are reading a single comment by @Sacha and its replies. Click here to read the full conversation.
  • 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

About

Avatar for Sacha @Sacha started