We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18c509b commit 52a1f83Copy full SHA for 52a1f83
examples/Battery/Battery.ino
@@ -38,7 +38,6 @@ void setup() {
38
while (!Serial);
39
delay(1000); // Delay to give time to load the Serial Monitor
40
41
- charger = Charger();
42
charger.begin();
43
auto chargeVoltage = charger.getChargeVoltage();
44
auto endOfChargeCurrent = charger.getEndOfChargeCurrent();
examples/Charger/Charger.ino
@@ -39,7 +39,6 @@ void setup() {
for (auto start = millis(); !Serial && millis() - start < 5000;);
if(!charger.begin()){
Serial.println("Charger initialization failed.");
45
while (true);
0 commit comments