Update BatteryPoweredSensor.ino

corrected debug
This commit is contained in:
Kolbi
2015-12-11 17:09:46 +01:00
parent 714d630c92
commit e20914cc1d
@@ -62,7 +62,7 @@ void loop()
{
// get the battery Voltage
int sensorValue = analogRead(BATTERY_SENSE_PIN);
#ifdef DEBUG
#ifdef MY_DEBUG
Serial.println(sensorValue);
#endif
@@ -73,7 +73,7 @@ void loop()
int batteryPcnt = sensorValue / 10;
#ifdef DEBUG
#ifdef MY_DEBUG
float batteryV = sensorValue * 0.003363075;
Serial.print("Battery Voltage: ");
Serial.print(batteryV);