i am using the yhid routine for scan a ble device, but, after a while of use, the system stop...then i have to reset again...
Did someone got some problem or this routine is weird ?
NRF.setScan(function(d) { //NINA B302 ENDDEVICE COM AHT10 //SE ACHOU, MANDA PARA O WEB SERVER - NINA W106 //if(d.id.includes("f2:52:f4:64:fd:9b")) { on = !on; //escreve no D13 D13.write(on); //GPIO 1 Serial1.print(d.id.substring(0,17)+ " "+d.data[9]+"."+d.data[10]); //temperatura if(d.data[10]<10) Serial1.print(0); //temperatura (preencha 0) Serial1.print(" "+d.data[11]); //botao on = !on; D13.write(on); //GPIO 1 } }, { filters: [{ manufacturerData:{0x0591:{}} }] }); }
thank you
@user95229 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.
i am using the yhid routine for scan a ble device, but, after a while of use, the system stop...then i have to reset again...
Did someone got some problem or this routine is weird ?
thank you