[][src]Crate rpi_embedded

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

Modules

adxl

Interface for the accelerometer ADXL345 using I2C

gpio

Interface for the GPIO peripheral.

i2c

Interface for the I2C peripheral.

pwm

Interface for the PWM peripheral.

servo
spi

Interface for the main and auxiliary SPI peripherals.

system

Raspberry Pi system-related tools.

uart

Interface for the UART peripherals and any USB to serial adapters.