yes, it SEEMS to work fine, but when entering "codes", the "inactivity timeout" throw an error, and so does the "shortestmatch timeout"
Did you logs pass well without errors when you tried ? ( or maybe you just copied/pasted to check the code evaluation? )
thanks ;p
shortest code match found !
1
2
Uncaught Error: Unknown Timeout
at line 7 col 61
...imeout(shortestMatchTimeout);
^
in function "onPress" called from line 5 col 28
if(timeDiff>0.1) onPress();
^
in function called from system
3
Uncaught Error: Unknown Timeout
at line 5 col 35
if(timeout) clearTimeout(timeout);
^
in function "onPress" called from line 5 col 28
if(timeDiff>0.1) onPress();
^
in function called from system
4
Uncaught Error: Unknown Timeout
at line 5 col 35
if(timeout) clearTimeout(timeout);
^
in function "onPress" called from line 5 col 28
if(timeDiff>0.1) onPress();
^
in function called from system
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.
yes, it SEEMS to work fine, but when entering "codes", the "inactivity timeout" throw an error, and so does the "shortestmatch timeout"
Did you logs pass well without errors when you tried ? ( or maybe you just copied/pasted to check the code evaluation? )
thanks ;p