Skip to content

Commit

Permalink
Reorder print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero committed May 13, 2024
1 parent 52a1f83 commit 830df36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/Battery/Battery.ino
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ void setup() {
delay(1000); // Delay to give time to load the Serial Monitor

charger.begin();
Serial.println("* 🔌 Charger initialized.");
auto chargeVoltage = charger.getChargeVoltage();
auto endOfChargeCurrent = charger.getEndOfChargeCurrent();
// charger.setChargeVoltage(4.2); // Set the charge voltage in V
// charger.setEndOfChargeCurrent(5); // Set the end of charge current in mA
Serial.println("* 🔌 Charger initialized.");
Serial.println("* ⚡️ Charge voltage: " + String(chargeVoltage) + " V");
Serial.println("* ⚡️ End of charge current: " + String(endOfChargeCurrent) + " mA");

Expand Down

0 comments on commit 830df36

Please sign in to comment.