Strange... There was something odd happening with getTime returning 0 though. I'm still not sure what that was about.
Just fixed, commit df71b0c049f7ca1b334a3b75ef4cea7ef8afeb91.
Again, if you wait an hour you should be able to try that build out. It appears to work with both bits of your code now.
Thanks for helping to track this all down! I managed to find/fix another issue too - with 0.0 in {0:1}
0.0 in {0:1}
@Gordon 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.
Strange... There was something odd happening with getTime returning 0 though. I'm still not sure what that was about.
Just fixed, commit df71b0c049f7ca1b334a3b75ef4cea7ef8afeb91.
Again, if you wait an hour you should be able to try that build out. It appears to work with both bits of your code now.
Thanks for helping to track this all down! I managed to find/fix another issue too - with
0.0 in {0:1}