#embedded-hal #raspberry-pi #hal #embedded-hal-impl #raspberry #pi #usb-serial

rpi_embedded

Interface for the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals. Forked from RPPAL

8 releases

0.1.0 Aug 11, 2020
0.0.7 Aug 5, 2020
0.0.5 Jul 29, 2020

#934 in Embedded development

Download history 11/week @ 2024-07-22 80/week @ 2024-07-29 37/week @ 2024-08-05 24/week @ 2024-08-12 16/week @ 2024-08-19 31/week @ 2024-08-26 22/week @ 2024-09-02 29/week @ 2024-09-09 33/week @ 2024-09-16 34/week @ 2024-09-23 53/week @ 2024-09-30 4/week @ 2024-10-07 34/week @ 2024-10-14 18/week @ 2024-10-21 22/week @ 2024-10-28 20/week @ 2024-11-04

94 downloads per month
Used in fewer than 17 crates

MIT license

325KB
5K SLoC

rpi_embedded

A Rust library that provides access to the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals. This library has documentation here https://docs.rs/rpi_embedded/


lib.rs:

rpi_embedded is a fork of the RPPAL library. This fork is made to increase the usability of the RPPAL library. Spesificaly making it more user friendly and beginer friendly rpi_embedded provides access to the Raspberry Pi's GPIO, I2C, PWM, SPI, UART and Bluetooth peripherals. There is also a ADXL345 and pwm servo library included for ease of use. RPPAL also offers support for USB to serial adapters. The library can be used in conjunction with a variety of platform-agnostic drivers through its embedded-hal trait implementations by enabling the optional hal feature. However the new functions included in rpi_embedded might fail.

rpi_embedded requires Raspbian or any similar, recent, Linux distribution. rpie_embedded has only been tested on Rpi Zero W but RPPAL is compatible with the Raspberry Pi A, A+, B, B+, 2B, 3A+, 3B, 3B+, 4B, CM, CM 3, CM 3+, Zero and Zero W. In theory it should all work except for bluetooth maybe.

Note that this fork is still in production, and might change massivly from version to version

Dependencies