This function controls the LED during charging.

Syntax

int ChargeIndicator(
  int mode
);

Parameters

mode
[in] This is the operation to be executed.
The following values can be specified.
ValueDescription
ENABLE Enables the LED lighting while charging.
DISABLE Disables the LED lighting while charging.
CURRENT_MODE Returns the current setting.

Return value

Returns the current setting only when mode is CURRENT_MODE.
If mode is any other value, an indefinite value is returned.
ValueDescription
ENABLE The LED is enabled.
DISABLE The LED is disabled.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2022/03/10