You are reading a single comment by @dave_irvine and its replies. Click here to read the full conversation.
  • Hi @Gordon, gave that a try, still getting 10 meters at best, outside in open space. I changed the code to this so I didn't need to reconnect each time, it just flashes an LED if it sees another Puck

    setWatch(function() {
      LED1.set();
      NRF.sleep();
      NRF.findDevices(function(devices) {
        LED1.reset();
        
        devices.forEach(function (device) {
          if (device.name && device.name.indexOf('Puck.js') >= 0) {
            digitalPulse(LED3,1,[1000,1000,1000,1000­,1000]);
          }
        });
        
        NRF.wake();
      }, 4000);
    }, BTN, { edge:"rising",debounce:50,repeat:true });
    

    Any further ideas?

About

Avatar for dave_irvine @dave_irvine started