You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ void setup() {
64
64
myBattery.setCallbacks(new MyBatteryCallbacks()); // Use your Custom Callbacks
65
65
myBattery.setGpio(new MyBatteryGPIO()); // Use your Custom GPIO Settings
66
66
// 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
0 commit comments