#raspberry #pi #embedded-hal #embedded-hal-impl #hal

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

#8 in #embedded-hal-impl

Download history 17/week @ 2021-02-25 32/week @ 2021-03-04 8/week @ 2021-03-11 14/week @ 2021-03-18 45/week @ 2021-03-25 17/week @ 2021-04-01 26/week @ 2021-04-08 32/week @ 2021-04-15 28/week @ 2021-04-22 30/week @ 2021-04-29 10/week @ 2021-05-06 22/week @ 2021-05-13 18/week @ 2021-05-20 18/week @ 2021-05-27 17/week @ 2021-06-03 27/week @ 2021-06-10

112 downloads per month
Used in less than 17 crates

MIT license

320KB
5K SLoC


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