Msg
This commit is contained in:
@@ -53,7 +53,7 @@ void loop() {
|
||||
send(msgMillis.set(cRun));
|
||||
sensorValue = analogRead(BATTERY_SENSE_PIN);
|
||||
v = sensorValue * 0.004659498;
|
||||
batteryPcnt = (v-3.0 * 100) / 1.2;
|
||||
batteryPcnt = ((v-3.0) * 100) / 1.2;
|
||||
sendBatteryLevel(batteryPcnt);
|
||||
send(msgVolts.set(v, 2));
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user