Sample code for NRF.setScan(xxx) hangs during scanning. Where you see the block cursor in the attachment is the last character that was sent to the console. Typing reset() doesn't do anything. Cycling power on Puck works though to reset.
Also, calling NRF.setScan() with no argument (in order to stop scanning) isn't working. packets variable continues to decrement, and scanning proceeds.
Reproduced on 2 Pucks, both running 1v91.
Edit: I added console.log(process.memory());, and I can see free blocks dropping by about 500 as each packet is processed.
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.
Sample code for
NRF.setScan(xxx)
hangs during scanning. Where you see the block cursor in the attachment is the last character that was sent to the console. Typingreset()
doesn't do anything. Cycling power on Puck works though to reset.Also, calling
NRF.setScan()
with no argument (in order to stop scanning) isn't working.packets
variable continues to decrement, and scanning proceeds.Reproduced on 2 Pucks, both running 1v91.
Edit: I added
console.log(process.memory());
, and I can seefree
blocks dropping by about 500 as each packet is processed.1 Attachment