Well, the primary problem was that I passed my callback as the second argument - where you expect a time. And because of a proper check I did not immediately find the mistake.
move worked as intended - the endless loop was a side-effect of the wrong time argument.
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.
Sorry - missed this! So it did work ok, but it was just the usage of
move
?The
typeof time
check sounds good to me - I'll get those changes in