View on GitHub

MAX1704X Arduino Library

Arduino library for MAX17043/MAX17044 lithium ion battery fuel gauge.

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.