Changes

Jump to navigation Jump to search

X708

1 byte added, 14:29, 16 September 2020
// invoke the API to get AC PSU status: connected or disconnected
int disconnected_flag = getACPSUStatus(); // please refer to the user manual to achieve getACPSUStatus function;
int battery_voltage = getBatteryVoltage(); // please refer to the user manual to achieve getBatteryVoltagefunctiongetBatteryVoltage function;
// You can make your own actions based on disconnected_flag and battery_voltage, you can only select one condition also

Navigation menu