We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b91dba8 + e20914c commit e3d86d9Copy full SHA for e3d86d9
libraries/MySensors/examples/BatteryPoweredSensor/BatteryPoweredSensor.ino
@@ -62,7 +62,7 @@ void loop()
62
{
63
// get the battery Voltage
64
int sensorValue = analogRead(BATTERY_SENSE_PIN);
65
- #ifdef DEBUG
+ #ifdef MY_DEBUG
66
Serial.println(sensorValue);
67
#endif
68
@@ -73,7 +73,7 @@ void loop()
73
74
int batteryPcnt = sensorValue / 10;
75
76
77
float batteryV = sensorValue * 0.003363075;
78
Serial.print("Battery Voltage: ");
79
Serial.print(batteryV);
0 commit comments