File tree Expand file tree Collapse file tree 5 files changed +29
-5
lines changed Expand file tree Collapse file tree 5 files changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ To install in a virtual environment in your current project:
6262 Usage Example
6363=============
6464
65+ Examples of using this module are in examples folder.
66+
6567Contributing
6668============
6769
Original file line number Diff line number Diff line change 1616
1717**Hardware:**
1818
19- * Adafruit LC709023 Breakout: https://www.adafruit.com/product/4712
19+ * `Adafruit LC709203F LiPoly / LiIon Fuel Gauge and Battery Monitor
20+ <https://www.adafruit.com/product/4712>`_ (Product ID: 4712)
2021
2122**Software and Dependencies:**
2223
2324* Adafruit CircuitPython firmware for the supported boards:
24- https://github.com/adafruit/circuitpython/releases
25+ https://circuitpython.org/downloads
26+
27+ * Adafruit's Bus Device library:
28+ https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
29+
30+ * Adafruit's Register library:
31+ https://github.com/adafruit/Adafruit_CircuitPython_Register
2532
26- # * Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
27- # * Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
2833"""
2934
3035from micropython import const
@@ -100,7 +105,12 @@ class PackSize(CV):
100105
101106
102107class LC709203F :
103- """Interface library for LC709203F battery monitoring and fuel gauge sensors"""
108+ """Interface library for LC709203F battery monitoring and fuel gauge sensors
109+
110+ :param ~busio.I2C i2c_bus: The I2C bus the device is connected to
111+ :param int address: The I2C device address. Defaults to :const:`0x0B`
112+
113+ """
104114
105115 def __init__ (self , i2c_bus , address = LC709203F_I2CADDR_DEFAULT ):
106116 self .i2c_device = i2c_device .I2CDevice (i2c_bus , address )
Original file line number Diff line number Diff line change 66
77 .. automodule :: adafruit_lc709203f
88 :members:
9+ :exclude-members: CV
Original file line number Diff line number Diff line change @@ -6,3 +6,12 @@ Ensure your device works with this simple test.
66.. literalinclude :: ../examples/lc709203f_simpletest.py
77 :caption: examples/lc709203f_simpletest.py
88 :linenos:
9+
10+ Thermistor test
11+ ---------------
12+
13+ Example showing the use of thermistors over I2C
14+
15+ .. literalinclude :: ../examples/lc709203f_thermistortest.py
16+ :caption: examples/lc709203f_thermistortest.py
17+ :linenos:
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ Table of Contents
2323.. toctree ::
2424 :caption: Tutorials
2525
26+ Adafruit LC709023 Breakout Learning Guide <https://learn.adafruit.com/adafruit-lc709203f-lipo-lipoly-battery-monitor/overview >
27+
2628.. toctree ::
2729 :caption: Related Products
2830
You can’t perform that action at this time.
0 commit comments