File tree Expand file tree Collapse file tree 4 files changed +18
-15
lines changed
Expand file tree Collapse file tree 4 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Installing from PyPI
4343.. note :: This library is not available on PyPI yet. Install documentation is included
4444 as a standard element. Stay tuned for PyPI availability!
4545
46- .. todo : : Remove the above note if PyPI version is/will be available at time of release.
46+ .. note :: TODO : Remove the above note if PyPI version is/will be available at time of release.
4747
4848On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
4949PyPI <https://pypi.org/project/circuitpython-i2c-expanders/> `_.
@@ -94,7 +94,7 @@ Or the following command to update an existing version:
9494 Usage Example
9595=============
9696
97- .. todo : : Add a quick, simple example. It and other examples should live in the examples folder and be included in docs/examples.rst.
97+ .. note :: TODO : Add a quick, simple example. It and other examples should live in the examples folder and be included in docs/examples.rst.
9898
9999Documentation
100100=============
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ Table of Contents
2424.. toctree ::
2525 :caption: Tutorials
2626
27- .. todo : : Add any Learn guide links here. If there are none, then simply delete this todo and leave
27+ .. note :: TODO : Add any Learn guide links here. If there are none, then simply delete this todo and leave
2828 the toctree above for use later.
2929
3030.. toctree ::
3131 :caption: Related Products
3232
33- .. todo : : Add any product links here. If there are none, then simply delete this todo and leave
33+ .. note :: TODO : Add any product links here. If there are none, then simply delete this todo and leave
3434 the toctree above for use later.
3535
3636.. toctree ::
Original file line number Diff line number Diff line change 44#
55# SPDX-License-Identifier: MIT
66
7+
78# pylint: disable=too-many-public-methods
89
910"""
10- `pca9555 `
11+ `PCA9555 `
1112====================================================
1213
1314CircuitPython module for the PCA9555 and compatible expanders.
1415The PCA9555 is a basic 16 pin I2C expander.
15- *Configurable pins as input or output
16- *Per pin polarity inversion. This inverts the value that is returned when an input port
17- is read. Does not affect the pins set as outputs.
18- *Pin change interrupts. An interrupt is generated on any pin change for a pin configured
19- as an input. The interrupt signal is cleared by a change back to the original value of
20- the input pin or a read to the GPIO register.This will have to be detected and tracked in
21- user code. There is no way to tell from the device what pin caused the interrupt.
16+
17+ * Configurable pins as input or output
18+ * Per pin polarity inversion. This inverts the value that is returned when an input port
19+ is read. Does not affect the pins set as outputs.
20+ * Pin change interrupts. An interrupt is generated on any pin change for a pin configured
21+ as an input. The interrupt signal is cleared by a change back to the original value of
22+ the input pin or a read to the GPIO register.This will have to be detected and tracked in
23+ user code. There is no way to tell from the device what pin caused the interrupt.
2224
2325Use this class if you are using a PCA9555 or compatible expander. This class is also used
2426as the base class for the PCAL9555 expander.
2830supported. A list of other devices that should be compatible is below.
2931
3032Compatible Devices
31- *PCA9555
32- *TODO
33+
34+ * PCA9555
35+ * TODO
3336
3437Heavily based on the code written by Tony DiCola for the MCP230xx library.
3538
Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: MIT
55
66"""
7- ` i2c_expander`
7+ i2c_expander.py
88====================================================
99
1010The base class for the I2C expanders.
You can’t perform that action at this time.
0 commit comments