Added more debug output
This commit is contained in:
parent
6333907f5a
commit
2287203fa1
|
@ -120,6 +120,8 @@ void loop() {
|
||||||
Serial.println(charge_percent);
|
Serial.println(charge_percent);
|
||||||
Serial.print("Alert level: ");
|
Serial.print("Alert level: ");
|
||||||
Serial.println(fuelGauge.alertThreshold());
|
Serial.println(fuelGauge.alertThreshold());
|
||||||
|
Serial.print("Alert: ");
|
||||||
|
Serial.println(fuelGauge.isAlerting());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Serial.println("MAX1704 not found!");
|
Serial.println("MAX1704 not found!");
|
||||||
|
|
Reference in a new issue