05-12-2023, 07:54 AM
I wrote some documentation on how to use GPIO with libgpiod, the preferred way to interact with GPIOs on mainline Linux: https://plebian.org/running/gpio/
So far there's Python examples for the version of libgpiod Debian Bookworm ships (1.6.x), I plan on writing C examples for it as well, and then focus on examples for the next version of libgpiod that brings breaking changes, which will likely be present in Debian Trixie (the next Debian version after Bookworm).
So far there's Python examples for the version of libgpiod Debian Bookworm ships (1.6.x), I plan on writing C examples for it as well, and then focus on examples for the next version of libgpiod that brings breaking changes, which will likely be present in Debian Trixie (the next Debian version after Bookworm).
Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux