max17048 ======== .. py:module:: max17048 .. autoapi-nested-parse:: Minimal MicroPython driver for the MAX17048 LiPo fuel gauge (I2C 0x36). Attributes ---------- .. autoapisummary:: max17048.ADDR Classes ------- .. autoapisummary:: max17048.MAX17048 Module Contents --------------- .. py:data:: ADDR :value: 54 .. py:class:: MAX17048(i2c, addr=ADDR) The fuel gauge on an injected I2C bus. .. py:attribute:: i2c .. py:attribute:: addr :value: 54 .. py:property:: voltage Cell voltage in volts (78.125 uV per LSB). .. py:property:: percent State of charge in percent (1/256 % per LSB). .. py:property:: charge_rate Charge (+) / discharge (-) rate in percent per hour. .. py:property:: version Chip version register.