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.
Files changed (41) hide show
  1. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.readthedocs.yaml +3 -0
  2. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/PKG-INFO +2 -2
  3. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/PKG-INFO +2 -2
  4. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_pcf8575.py +4 -4
  5. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/conf.py +0 -1
  6. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/pyproject.toml +1 -1
  7. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +0 -0
  8. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/build.yml +0 -0
  9. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/failure-help-text.yml +0 -0
  10. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/release_gh.yml +0 -0
  11. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.github/workflows/release_pypi.yml +0 -0
  12. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.gitignore +0 -0
  13. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.pre-commit-config.yaml +0 -0
  14. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/.pylintrc +0 -0
  15. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/CODE_OF_CONDUCT.md +0 -0
  16. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSE +0 -0
  17. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/CC-BY-4.0.txt +0 -0
  18. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/MIT.txt +0 -0
  19. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/LICENSES/Unlicense.txt +0 -0
  20. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/README.rst +0 -0
  21. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/README.rst.license +0 -0
  22. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/SOURCES.txt +0 -0
  23. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/dependency_links.txt +0 -0
  24. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/requires.txt +0 -0
  25. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/adafruit_circuitpython_pcf8575.egg-info/top_level.txt +0 -0
  26. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/_static/favicon.ico +0 -0
  27. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/_static/favicon.ico.license +0 -0
  28. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/api.rst +0 -0
  29. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/api.rst.license +0 -0
  30. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/examples.rst +0 -0
  31. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/examples.rst.license +0 -0
  32. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst +0 -0
  33. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/index.rst.license +0 -0
  34. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/docs/requirements.txt +0 -0
  35. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_blink16outputs.py +0 -0
  36. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_buttonled.py +0 -0
  37. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_read16inputs.py +0 -0
  38. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/examples/pcf8575_simpletest.py +0 -0
  39. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/optional_requirements.txt +0 -0
  40. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/requirements.txt +0 -0
  41. {adafruit-circuitpython-pcf8575-1.0.5 → adafruit_circuitpython_pcf8575-1.0.9}/setup.cfg +0 -0
@@ -8,6 +8,9 @@
8
8
  # Required
9
9
  version: 2
10
10
 
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+
11
14
  build:
12
15
  os: ubuntu-20.04
13
16
  tools:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: adafruit-circuitpython-pcf8575
3
- Version: 1.0.5
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
1
+ Metadata-Version: 2.2
2
2
  Name: adafruit-circuitpython-pcf8575
3
- Version: 1.0.5
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
@@ -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.5"
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 vale: The state to set
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 pfc: The associated PCF8575 instance
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,
@@ -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.5"
16
+ version = "1.0.9"
17
17
  readme = "README.rst"
18
18
  authors = [
19
19
  {name = "Adafruit Industries", email = "circuitpython@adafruit.com"}