Great - thanks for posting up!
Could your timeout error have been from doing something like:
doSomething(this.data); setTimeout(function() { doSomething(this.data); }, 100);
That's a common 'gotcha' in JS, since this doesn't stay the same inside a setTimeout or interval.
this
setTimeout
@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.
Great - thanks for posting up!
Could your timeout error have been from doing something like:
That's a common 'gotcha' in JS, since
this
doesn't stay the same inside asetTimeout
or interval.