Easy async access to GPIO pins
Project description
MoaT-GPIO allows easy access to the GPIO pins on your Raspberry Pi or similar embedded computer.
It is based on libgpiod and its CFFI adapter by Steven P. Goldsmith <sgjava@gmail.com>, as downloaded from github.
To run examples, make sure to install trio first.
Testing MoaT-GPIO requires a Linux distribution that enables the mock-GPIO module. As of mid-2020, Debian’s kernel does not include this module, but Raspbian’s does.
If you can compile your own kernel: the option is named CONFIG_GPIO_MOCKUP, in Device Drivers / GPIO support / Memory mapped GPIO drivers / GPIO Testing Driver.
Writing an actual test suite is TODO. There is a more elaborate test script in DistKV-GPIO.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for moat_gpio-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 519db391051ca90cba2da6014a5ad4e0cd6b56ec21ff5b8cdc7f8d4e71df8dd9 |
|
MD5 | 5b1824e6d28dc5535e7bc47ab7fc0956 |
|
BLAKE2b-256 | c7f8ea52b3d94f1c95a4f0fade11abc022a3c96f1bf01a745a56f8d4dbfe531e |