-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autogenerated. Convert PyPi packaging and add Readme Updates
- Loading branch information
1 parent
2a4c828
commit 8a359aa
Showing
6 changed files
with
172 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Sparkfun GPIO Examples Reference | ||
Below is a brief summary of each of the example programs included in this repository. To report a bug in any of these examples or to request a new feature or example [submit an issue in our GitHub issues.](https://github.com/sparkfun/qwiic_gpio_py/issues). | ||
|
||
NOTE: Any numbering of examples is to retain consistency with the Arduino library from which this was ported. | ||
|
||
## Qwiic Gpio Ex1A Write | ||
This script sets up a GPIO 0 as an output and toggles | ||
the output HIGH and LOW. | ||
|
||
This device sinks current. When an output is LOW then current will flow. | ||
|
||
## Qwiic Gpio Ex1B Write Port | ||
This script flips all 8 outputs on and off every second. | ||
|
||
## Qwiic Gpio Ex2A Read | ||
This script allows the user to read a value from GPIO 0 | ||
------------------------------------------------------------------------ | ||
|
||
## Qwiic Gpio Ex2B Read Port | ||
This script allows the user to read the status of all 8 GPIO simultaneously | ||
------------------------------------------------------------------------ | ||
|
||
## Qwiic Gpio Ex3A Inversion | ||
This script shows how to invert the input signal on a pin | ||
------------------------------------------------------------------------ | ||
|
||
## Qwiic Gpio Ex3B Inversion Port | ||
This script shows how to invert the input signal on multiple pins | ||
------------------------------------------------------------------------ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
|
||
[project] | ||
name = "sparkfun_qwiic_gpio" | ||
version = "0.0.2" | ||
description = long_description | ||
readme = "DESCRIPTION.rst" | ||
|
||
authors = [{name="Sparkfun Electronics", email="info@sparkfun.com"}] | ||
dependencies = ["sparkfun_qwiic_i2c"] | ||
|
||
classifiers=[ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
"Development Status :: 5 - Production/Stable", | ||
|
||
# Indicate who your project is intended for | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Build Tools", | ||
|
||
# Pick your license as you wish (should match "license" above) | ||
"License :: OSI Approved :: MIT License", | ||
|
||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: 3.14", | ||
"Programming Language :: Python :: Implementation :: MicroPython", | ||
# NOTE: CircuitPython is also supported, but no classifier exists for it | ||
] | ||
|
||
keywords = ["electronics, maker"] | ||
|
||
[project.urls] | ||
homepage = "http://www.sparkfun.com/qwiic" | ||
|
||
[tool.setuptools] | ||
py-modules = ["qwiic_gpio"] |
Oops, something went wrong.