You won't be able to catch that exception, since it's called in a setTimeout But you can take a look at the code, and that exception is thrown when reading the VERSION register returns 0 or 255, most likely a communication / wiring error / the radio not present or not powered. https://github.com/espruino/EspruinoDocs/blob/master/devices/SX127x.js#L337
Hi AkosLukacs,
You won't be able to catch that exception
Although regrettable, thanks for confirming that--that basically settles it 😕👍 .
@AkosLukacs 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.
You won't be able to catch that exception, since it's called in a setTimeout
But you can take a look at the code, and that exception is thrown when reading the VERSION register returns 0 or 255, most likely a communication / wiring error / the radio not present or not powered. https://github.com/espruino/EspruinoDocs/blob/master/devices/SX127x.js#L337