Open main menu

Changes

X708-Software

172 bytes removed, 10:08, 26 November 2021
9. How to programming to get ASD (automatically shut down) function on V1.2 version? python3 /home/pi/x728/x728v2-asd.py &
The following is fake C/C++ code:
<pre>
while(1) {
// You need to implement getCurrentVoltage function
float fVoltage = getCurrentVoltage();
if (fVoltage <= 2.5) {
//execute shut down command, "sudo x708off"
break;
}
}
</pre>
10. Uninstall