You are reading a single comment by @Terrence7 and its replies. Click here to read the full conversation.
  • Here is my proposed code, do you have any suggestions?

    1. So in this code, LED1 is not an output, so I shouldn't have to do a read correct?

    2. The only reason you suggested bumping power with setTxPower(4) is just to give me some more distance correct?

    Thank you.

    function sendAdvert() {
      if(Puck.light() > 0.50){
        NRF.setAdvertising({0x180F : Puck.getBatteryPercentage()});
    setInterval(sendAdvert, 1500);

Avatar for Terrence7 @Terrence7 started