code: function transmit(sensor)
  {
      var buffer = "Ping " + count;
      count++;
      console.log("Sending... " + buffer);
  
      sensor.sendStr(buffer, 3000);
      sensor.setSleep();
  }
docs: ************ Functions *************