Our great sponsors
-
WiringPi
Discontinued Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)
-
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.
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:
Without interrupts
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.