GPIO controller connector
% start synopsis Connects MoaT-Link to GPIO lines via the moat-lib-gpio library. % end synopsis
% start main
This module bridges MoaT-Link values and GPIO controller lines, in both
directions. It replaces the legacy moat-kv-gpio package.
Quick start
-
Configure an input line (reads GPIO and publishes to a link path):
moat link gpio port myhost 0 5 -t input -m read -a dest .sensors.button
-
Configure an output line (watches a link path and drives GPIO):
moat link gpio port myhost 0 3 -t output -m write -a src .controls.lamp
-
Run the connector for a chip:
moat link gpio monitor myhost 0
The host name defaults to this machine's node name; omit the chip name(s) to monitor every chip configured for the host:
moat link gpio monitor
Deprecation
This package supersedes moat-kv-gpio. The address tree now lives in
MoaT-Link under the gpio prefix; lines are stored as integer line
numbers below host and chip entries.
% end main
Metadata
Release files for moat-link-gpio 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moat_link_gpio-0.2.0.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_link_gpio-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.1 kB
Release files / moat_link_gpio-0.2.0.tar.gz
| Download URL | moat_link_gpio-0.2.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc670468f68bc6815713c9711cac3f9dbea8909e9df1b309d76cfbf5f7d259ab
|
|
BLAKE2b-256 checksum How to use checksums |
6a2a3b3400c7fb832d4c68f2f55df6f8f8250db1bce4bda6eb3ee4bbf7f3a786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / moat_link_gpio-0.2.0-py3-none-any.whl
| Download URL | moat_link_gpio-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36b8c142d935472e5537f1a10c5fda95a942fd6509383cf61056d60580950069
|
|
BLAKE2b-256 checksum How to use checksums |
c7b684321198d4cb9412c87dff2611a45c83235931bebee05c6c961741273032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|