Home - Getting Started - Constructor - Initialization - Functions - Examples
deviceFound() - findFirstDevice() - address() - adc() - voltage() - percent() - version() - compensation() - sleep() - isSleeping() - wake() - reset() - quickstart() - alertIsActive() - clearAlert() - threshold()
address()
Description
Gets/sets the i2c device address.
Parameters
Get: None
Set: address :uint8_t
Returns
Get: address :uint8_t
Set: None
Example
This snippet of code shows how to get the device address.
uint8_t address = FuelGauge.address();
This snippet of code shows how to set the device address.
FuelGauge.address(0x032);
Notes
None.