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.1
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.1.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_link_gpio-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / moat_link_gpio-0.2.1.tar.gz
| Download URL | moat_link_gpio-0.2.1.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6088b5f9b46fe957bdbeebd69d3c892c29b9e7970d9416ffcb4505f620606c41
|
|
BLAKE2b-256 checksum How to use checksums |
271b176425f3a592e45590e215c881f8ef9e281239702a1aa80073dd5e39b02f
|
| 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.1-py3-none-any.whl
| Download URL | moat_link_gpio-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97fca4dbfe6fa2960c7cc5005c335e1b708b93d0394be0e228af61af18a929b7
|
|
BLAKE2b-256 checksum How to use checksums |
1c412891e18ee1f453269083264075b33a96e5e60cda7c7f95e8f72199ae1255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|