SwiftyGPIO VS rppal

Compare SwiftyGPIO vs rppal and see what are their differences.


A Swift library for hardware projects on Linux/ARM boards with support for GPIOs/SPI/I2C/PWM/UART/1Wire. (by uraimo)


A Rust library that provides access to the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals. (by golemparts)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
SwiftyGPIO rppal
1 3
1,335 1,114
- -
5.3 8.0
26 days ago 9 days ago
Swift Rust
MIT License MIT License
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.


Posts with mentions or reviews of SwiftyGPIO. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-01.


Posts with mentions or reviews of rppal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-07.
  • Implementing a non blocking delay on Raspberry with Rust
    2 projects | /r/embedded | 7 Feb 2023
    The other thing that I thought about is to use Raspberry's hardware timers, but the HAL library I'm using doesn't provide access to that. So the only to use it would be using Assembly directly into the Rust code, which is intriguing, but I don't know if it's worth it, because I would have to spend a lot of time studying since I'm not familiar with it.
  • Has anyone programmed a Raspberry Pi with Rust?
    3 projects | /r/rust | 1 Jul 2022
    I highly recommend https://github.com/golemparts/rppal
  • How to reduce the amount clone() call for a static closure?
    1 project | /r/rust | 23 Sep 2021
    Hi, I'm trying to learn Rust and one of my project for that is to use Rust to read and react to a rotary encoder connected to GPIO pins on a Raspberry Pi. Using the RPPAL library, everything works extremely great. However, the code for setting the interrupt callbacks look rather crude to me for some reason.

What are some alternatives?

When comparing SwiftyGPIO and rppal you can also consider the following projects:

SMBus-swift - Swift library for SMBus access through the i2c /dev interface on Linux

rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:

Scroll-phat-swift - Swift library to control the Pimoroni Scroll pHAT for Raspberry Pi

johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.

5110LCD_PCD8544.swift - A Swift library for the Nokia3310/5110 PCD8544 Monochrome LCD display

systemd-gpio - A systemd unit template that does things when gpio events happen.

eruption - Realtime RGB LED Driver for Linux

nf-interpreter - :gear: nanoFramework Interpreter, CLR, HAL, PAL and reference target boards

JETGPIO - C library to manage the GPIO header of the Nvidia Jetson boards

bme680-zabbix_sender - Send BME 680 data to Zabbix using Zabbix sender

lcd_display - Use character liquid crystal display (LCD) in Elixir

openemc - OpenEMC: open embedded management controller