RepositorySwift
UR

uraimo/SwiftyGPIO

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

1.4kstars
141forks
31issues
4views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: 1-wire

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: lcd-display

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: pwm

#1 Repository Của Tuần

🛠️ SwiftyGPIO: Kiểm soát phần cứng bằng Swift trên Linux ARM

SwiftyGPIO mở ra cách tiếp cận hoàn toàn mới — lập trình phần cứng bằng ngôn ngữ Swift trên các bo mạch nhúng như Raspberry Pi.

SwiftyGPIO là một thư viện Swift cung cấp giao tiếp với các thiết bị ngoại vi thông qua GPIO, SPI, I2C, PWM, UART và 1-Wire trên các bo mạch Linux/ARM. Dự án hỗ trợ phát triển các dự án IoT và điện tử sử dụng Swift, thay thế cho các giải pháp bằng Python truyền thống.

✨ Điểm nổi bật

  • Hỗ trợ đa giao thức: GPIO, SPI, I2C, PWM, UART, 1-Wire
  • Chạy trên Linux ARM: Raspberry Pi, BeagleBone, OrangePi, Asus Tinkerboard...
  • Dễ tích hợp: Thêm dependency vào Package.swift và dùng swift build
  • Hỗ trợ thiết bị đa dạng: Cảm biến, màn hình, LED RGB, bàn điều khiển
  • Phần cứng hoặc phần mềm: SPI hardware hoặc bit-banging
  • Cộng đồng mạnh: Phát triển bởi cộng đồng Swift on ARM

💡 Vì sao đáng chú ý

SwiftyGPIO khác biệt bằng cách mang ngôn ngữ Swift — thường dùng cho phát triển iOS/macOS — vào lĩnh vực nhúng và IoT. Thay vì phụ thuộc vào Python, nhà phát triển có thể dùng Swift với hệ thống kiểu mạnh và cú pháp hiện đại để kiểm soát phần cứng. Dự án phù hợp cho những người muốn xây dựng các dự án điện tử đòi hỏu độ tin cậy và hiệu năng cao trên nền tảng ARM.


#Swift #GPIO #RaspberryPi #IoT #Hardware #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
golemparts/rppal

A Rust library that provides access to the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals.

1.5k
Jul 1, 2025
RepositoryC++
geo-tp/ESP32-Bit-Pirate

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

6.4k
Nov 17, 2026
RepositoryC
Rubberazer/JETGPIO

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

120
Jun 13, 2025
RepositoryJavaScript
rwaldron/johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.

13.4k
Oct 24, 2023
RepositoryC
cpq/bare-metal-programming-guide

A bare metal programming guide (ARM microcontrollers)

5.1k
Jul 3, 2026
RepositoryJavaScript
hybridgroup/cylon

JavaScript framework for robotics, drones, and the Internet of Things (IoT)

4.2k
Oct 2, 2020
RepositoryC++
itas109/CSerialPort

CSerialPort - lightweight cross-platform serial port library and protocol parsing for C++/C/C#/Java/Python/Node.js/Electron/Rust

911
Jun 19, 2026
RepositoryGo
tinygo-org/drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.

757
Nov 18, 2026
RepositoryC#
nanoframework/nanoFramework.IoT.Device

📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers

318
Nov 12, 2026