WiringPi
Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings) (by WiringPi)
pigpio
pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO). (by joan2937)
Our great sponsors
WiringPi | pigpio | |
---|---|---|
7 | 6 | |
2,259 | 1,394 | |
- | - | |
3.6 | 0.0 | |
6 months ago | 4 months ago | |
C | C | |
GNU Lesser General Public License v3.0 only | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WiringPi
Posts with mentions or reviews of WiringPi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-18.
-
Embedded / RaspberryPi: Reading GPIO: is `libgpiod` better then `WiringPi`?
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:
-
Is PWM not working correctly in wiringPi? Also, given how it is deprecated, what's the best replacement C/C++ library?
WiringPi was deprecated by its author after he was flooded with support requests from non-Raspberry Pi users. There is a community-maintained fork: WiringPi/WiringPi: Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings) for recent hardware. How long it'll stick around, I don't know.
Yes. There is a community fork of wiringPi which supports newer hardware. No new features.
-
GPIO Programming on the Raspberry Pi: Python Libraries
The WiringPi library is an often used, functional rich library that supports I2C and SPI connections. It is written in C and provides Python bindings. The library is unfortunately deprecated as the original author stated. Decide yourself if you want to use the library: On one hand, you find several examples on the internet, on the other hand, members from the Raspberry Pi community start to move to new libraries.
pigpio
Posts with mentions or reviews of pigpio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-24.
-
Using RPi GPIO from within ROS2 node (Ubuntu 20.04.4)
pigpio: Here is the repo, but the "abyz" link to the documentation looks to be broken. Not sure how to go about getting the daemon to work - I tried sudo pigpiod as the prompt in Python suggests, but sudo: pigpiod: command not found.
-
GPIO Programming on the Raspberry Pi: Python Libraries
The pigpio is an actively developed library with an impressive set of features: All GPIO pins of the Raspberry Pi can be read, written to, attached to interrupt handlers, and output PWM signals at the same time. Also, UART, I2C and SPI protocols are implemented. It is written in C and also provides Python bindings. Go to the official Github repository and build the newest version on your Raspberry Pi, or install it with apt install pigpio python-pigpio python3-pigpio.
What are some alternatives?
When comparing WiringPi and pigpio you can also consider the following projects:
gpiozero - A simple interface to GPIO devices with Raspberry Pi
WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.
spi-device - SPI serial bus access with Node.js
onoff - GPIO access and interrupt detection with Node.js
i2c-bus - I2C serial bus access with Node.js
platformio-vscode-ide - PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
rgbxmastree - Code examples for the RGB Xmas Tree
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
node-rpio - Raspberry Pi GPIO library for node.js
bdiefinder - Find Samsung B-Die DDR 4 memory kits on Amazon, Newegg and many more