it was just an example. Before it was giving similar errors but from a different sections of the code
Usually it was coming up with errors around to where the comments are in the code.
When this happens, it will actually be in the half working state - all functions and variables are not defined, but it was still sending BLE advertising using the last known values
I have shared it on Gist here:
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.
it was just an example. Before it was giving similar errors but from a different sections of the code
Usually it was coming up with errors around to where the comments are in the code.
When this happens, it will actually be in the half working state - all functions and variables are not defined, but it was still sending BLE advertising using the last known values
I have shared it on Gist here: