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: libraries/Nicla_System/src/Nicla_System.h
+6-2
Original file line number
Diff line number
Diff line change
@@ -74,9 +74,13 @@ class nicla {
74
74
staticboolenterShipMode();
75
75
76
76
/**
77
-
* @brief Enables fast charging of the battery.
77
+
* @brief Enables fast charging of the battery. By default charging is already enabled when the board is powered.
78
+
* The default charging current without enabling fast charging is 10mA. Charging can be disabled by calling disableCharging().
78
79
*
79
-
* @param mA The desired milliampere (mA) charging current. Range: 5mA - 35mA and 40mA - 300mA. The default is 20mA.
80
+
* @param mA The desired milliampere (mA) charging current. Range: 5mA - 35mA and 40mA - 300mA. The default value is 20mA.
81
+
* A safe default charging current value that works for most common LiPo batteries is 0.5C, which means charging at a rate equal to half of the battery's capacity.
82
+
* For example, a 200mAh battery could be charged at 100mA (0.1A).
83
+
* This charging rate is generally safe for most LiPo batteries and provides a good balance between charging speed and battery longevity.
80
84
* @param disableNtc Whether to disable Temperature Sense and interrupt on charge. The default is true.
81
85
* @return true If the fast charging is enabled successfully. False, otherwise.
0 commit comments