Embedded / RaspberryPi: Reading GPIO: is `libgpiod` better then `WiringPi`?

This page summarizes the projects mentioned and recommended in the original post on /r/linuxquestions

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • WiringPi

    Discontinued Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)

  • So I have a C program running on my Raspberry Pi that reads GPIO pins indefinitely. I used WiringPi to write it, and I notice it uses 20%-30% of CPU. I tried both with and without interrupts. Here are links to two implementations:

  • jukebox

  • Without interrupts

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts