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()

reset()

Description

Calling the reset() method causes the MAX17043/MAX17044 to completely reset as if power had been removed. The reset occurs when the last bit has been clocked in. The IC does not respond with an I2C ACK after this command sequence.

Parameters

None

Returns

None

Example

This snippet of code shows how to reset the device and wait for it to complete.

//
// Reset the device.
//
Serial.println("Resetting device...");
FuelGauge.reset();
delay(250);

Notes

None.