Home - Getting Started - Constructor - Initialization - Functions - Examples
deviceFound() - findFirstDevice() - address() - adc() - voltage() - percent() - version() - compensation() - sleep() - isSleeping() - wake() - reset() - quickstart() - alertIsActive() - clearAlert() - threshold()
version()
Description
Gets the IC version.
Parameters
None
Returns
version : uint16_t
Example
This snippet of code demonstrates how to get and display the IC version on the serial port.
uint16_t version = FuelGauge.verion();
Serial.print("Version is 0x"); Serial.println(version, HEX);
Notes
None.