Skip to content

Commit adc1d33

Browse files
committed
Readme.md Corrected
1 parent ba5bd22 commit adc1d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void setup() {
6464
myBattery.setCallbacks(new MyBatteryCallbacks()); // Use your Custom Callbacks
6565
myBattery.setGpio(new MyBatteryGPIO()); // Use your Custom GPIO Settings
6666
// We would now change any Properties of myBattery as required
67-
myBattery.setup(); // This will Initialise our Battery instance with the given Property values
67+
myBattery.setup(500); // This will Initialise our Battery instance with the given Property values, where 500 tells it that the rated Battery capacity is 500mAh
6868
};
6969
7070
void loop() {

0 commit comments

Comments
 (0)