Changes

Jump to navigation Jump to search

X708-Software

296 bytes added, 12:54, 7 February 2021
no edit summary
9. How to programming to get ASD function on V1.2 version
 
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>
Return to [[X708]]

Navigation menu