Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 124 of 154
5.5.1.2 IGN_GetBatteryVoltage
Syntax
BOOL IGN_GetBatteryVoltage(double *lpVoltage);
Description
Get information about the battery voltage.
Parameter
lpVoltage
[in]
pointer to double value which specifies the battery voltage.
Return Value
Returns TRUE if stop procedure successes, FALSE if stop procedure failed.
Usage
void main(int argc, char *argv[])
{
double voltage;
voltage = 0;
if ( ! IGN_GetBatteryVoltage(&voltage) )
{
printf("IGN_GetBatteryVoltage is FAILED !\r\n");
}
}