Right... the fix appears to be to use the 'throttle send' option in the communications section of settings.
Without it - I get stupid syntax errors about EOF encountered and expecting } - when all my braces are present and correct.
With it .. worked first time
(This is with the code refactored as per @Gordon 's suggestion - but I suspect the original may work)
(Well, I say worked - my temperature comes back as null all the time but that's a different problem)
I feel like I'm in with a chance now.
Thanks everyone
@Nickax 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.
Right... the fix appears to be to use the 'throttle send' option in the communications section of settings.
Without it - I get stupid syntax errors about EOF encountered and expecting } - when all my braces are present and correct.
With it .. worked first time
(This is with the code refactored as per @Gordon 's suggestion - but I suspect the original may work)
(Well, I say worked - my temperature comes back as null all the time but that's a different problem)
I feel like I'm in with a chance now.
Thanks everyone