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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c28c90088f8f71d5d2d8f90cc8c46ba030349ac57841eeef62d68785d86b3e6 |
|
MD5 | af19c05ea5f4d479a3d8257920c88825 |
|
BLAKE2b-256 | dfc0f6380d218a8bb1e5583cd329423275d89216235c8599b3aa989db088eca2 |