Skip to main content

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

  1. 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
    
  2. 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
    
  3. 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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-link-gpio 0.2.2
File Size Uploaded
moat_link_gpio-0.2.2.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moat-link-gpio 0.2.2
File Interpreter ABI Platform
moat_link_gpio-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.2 kB

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page