Wow... That worked brilliantly :-)
Now I just need to understand why!
I understand the logic for the 'var self = this;'. I read the article! but coming from a proper Java background it's all very different.
I will keep reading.
Thanks for the help.
Stuart
@Stuart.d.d 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.
Wow...
That worked brilliantly :-)
Now I just need to understand why!
I understand the logic for the 'var self = this;'. I read the article! but coming from a proper Java background it's all very different.
I will keep reading.
Thanks for the help.
Stuart