adafruit-circuitpython-pcf8575 1.0.5__tar.gz → 1.0.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.readthedocs.yaml +3 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/PKG-INFO +2 -2
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/PKG-INFO +2 -2
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_pcf8575.py +4 -4
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/conf.py +0 -1
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/pyproject.toml +1 -1
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/build.yml +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/failure-help-text.yml +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/release_gh.yml +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/release_pypi.yml +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.gitignore +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.pre-commit-config.yaml +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.pylintrc +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/CODE_OF_CONDUCT.md +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSE +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/CC-BY-4.0.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/MIT.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/Unlicense.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/README.rst +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/README.rst.license +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/SOURCES.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/dependency_links.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/requires.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/top_level.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/_static/favicon.ico +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/_static/favicon.ico.license +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/api.rst +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/api.rst.license +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/examples.rst +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/examples.rst.license +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst.license +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/requirements.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_blink16outputs.py +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_buttonled.py +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_read16inputs.py +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_simpletest.py +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/optional_requirements.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/requirements.txt +0 -0
- {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: adafruit-circuitpython-pcf8575
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.9
|
4
4
|
Summary: CircuitPython library for Adafruit PCF8575 GPIO expander
|
5
5
|
Author-email: Adafruit Industries <circuitpython@adafruit.com>
|
6
6
|
License: MIT
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: adafruit-circuitpython-pcf8575
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.9
|
4
4
|
Summary: CircuitPython library for Adafruit PCF8575 GPIO expander
|
5
5
|
Author-email: Adafruit Industries <circuitpython@adafruit.com>
|
6
6
|
License: MIT
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_pcf8575.py
RENAMED
@@ -37,7 +37,7 @@ from adafruit_bus_device.i2c_device import I2CDevice
|
|
37
37
|
from micropython import const
|
38
38
|
import digitalio
|
39
39
|
|
40
|
-
__version__ = "1.0.
|
40
|
+
__version__ = "1.0.9"
|
41
41
|
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8575.git"
|
42
42
|
|
43
43
|
PCF8575_I2CADDR_DEFAULT: int = const(0x20) # Default I2C address
|
@@ -87,7 +87,7 @@ class PCF8575:
|
|
87
87
|
"""Set a single GPIO pin high/pulled-up or driven low
|
88
88
|
|
89
89
|
:param int pin: The pin number
|
90
|
-
:param bool
|
90
|
+
:param bool val: The state to set
|
91
91
|
"""
|
92
92
|
|
93
93
|
buff = self._writebuf[0] | (self._writebuf[1] << 8)
|
@@ -104,7 +104,7 @@ class PCF8575:
|
|
104
104
|
:param int pin: The pin number
|
105
105
|
"""
|
106
106
|
|
107
|
-
return (self.read_gpio() >> pin) & 0x1
|
107
|
+
return ((self.read_gpio() >> pin) & 0x1) == 1
|
108
108
|
|
109
109
|
|
110
110
|
"""
|
@@ -131,7 +131,7 @@ class DigitalInOut:
|
|
131
131
|
"""Specify the pin number of the PCF8575 0..15, and instance.
|
132
132
|
|
133
133
|
:param int pin_number: The pin number
|
134
|
-
:param PCF8575
|
134
|
+
:param PCF8575 pcf: The associated PCF8575 instance
|
135
135
|
"""
|
136
136
|
|
137
137
|
self._pin = pin_number
|
@@ -114,7 +114,6 @@ napoleon_numpy_docstring = False
|
|
114
114
|
import sphinx_rtd_theme
|
115
115
|
|
116
116
|
html_theme = "sphinx_rtd_theme"
|
117
|
-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), "."]
|
118
117
|
|
119
118
|
# Add any paths that contain custom static files (such as style sheets) here,
|
120
119
|
# relative to this directory. They are copied after the builtin static files,
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/pyproject.toml
RENAMED
@@ -13,7 +13,7 @@ requires = [
|
|
13
13
|
[project]
|
14
14
|
name = "adafruit-circuitpython-pcf8575"
|
15
15
|
description = "CircuitPython library for Adafruit PCF8575 GPIO expander"
|
16
|
-
version = "1.0.
|
16
|
+
version = "1.0.9"
|
17
17
|
readme = "README.rst"
|
18
18
|
authors = [
|
19
19
|
{name = "Adafruit Industries", email = "circuitpython@adafruit.com"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/CODE_OF_CONDUCT.md
RENAMED
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/CC-BY-4.0.txt
RENAMED
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/MIT.txt
RENAMED
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/Unlicense.txt
RENAMED
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/README.rst.license
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/api.rst.license
RENAMED
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/examples.rst
RENAMED
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst
RENAMED
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst.license
RENAMED
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/requirements.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/requirements.txt
RENAMED
File without changes
|
File without changes
|