Open main menu

Changes

X728-script

42 bytes added, 10:37, 27 July 2023
If you want to control battery charging through GPIO, please refer to the instructions below:
<pre style="color:red">
"CHG Ctrl" - '''Short''' : battery automatic charging when powe adapter connected
"CHG Ctrl" - '''Open''' : GPIO16 output stays high: Charging enabled, GPIO16 output stays low : Charging disabled
</pre>
<pre style="color:blue">
"CHG Ctrl" - Short : battery automatic charging when powe adapter connected
"CHG Ctrl" - Open : GPIO16 output stays high: Charging enabled, GPIO16 output stays low : Charging disabled
 
# Sample shell command
echo "16" > /sys/class/gpio/export