It's because it got right to the end of lora.getStatus() and tried to call the callback function, which doesn't exist because you didn't specify it.
lora.getStatus()
Try lora.getStatus(console.log) :)
lora.getStatus(console.log)
Unfortunately the module gets minified, so what would have been a helpful variable name like callback just gets turned into b...
callback
b
@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.
It's because it got right to the end of
lora.getStatus()
and tried to call the callback function, which doesn't exist because you didn't specify it.Try
lora.getStatus(console.log)
:)Unfortunately the module gets minified, so what would have been a helpful variable name like
callback
just gets turned intob
...