@tlpeter said:
if (oldBatteryPcnt != batteryPcnt) {
// Power up radio after sleep
send(msgBatt.set(batteryV, 1));
//sendBatteryLevel(batteryPcnt);
oldBatteryPcnt = batteryPcnt;
}
Hi, This part should not have been updated
this part is icluded in the lib
So leave it like the exsample
if (oldBatteryPcnt != batteryPcnt) {
// Power up radio after sleep
sendBatteryLevel(batteryPcnt);
oldBatteryPcnt = batteryPcnt;
}
For sending over your voltage you need one additional
send(msgBatt.set(batteryV, 1));
Good luck