8 releases
0.1.0 | Aug 11, 2020 |
---|---|
0.0.7 | Aug 5, 2020 |
0.0.5 | Jul 29, 2020 |
#934 in Embedded development
94 downloads per month
Used in fewer than 17 crates
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