Skip to content

Rylan-Meilutis/gpio_manager

Repository files navigation

Python GPIO Library

Installation

pip install --break-system-packages --upgrade gpio-manager

Usage and Documentation

Description

  • These are rust bindings around the RPPAL - Raspberry Pi Peripheral Access Library crate that gives access to gpio, pwm, spi, and more. As of current, the gpio, i2c, and pwm portions are tested and working. Support for the other functions may come later on.
  • These bindings allow you to call the rust code from python in a way that looks like any other python object

Features

  • Able to make multiple objects that can call the gpio without generating errors
  • Support for event driven io using callbacks
  • Supports software pwm
  • Allows for setting up pins as input or output
  • Supports hardware PWM
  • Supports I2C
  • Works with multiple pi versions and multiple OS's

Warranty

  • This library is provided as is and is not guaranteed to work in all cases.

Support

  • If you have any issues with the library please contact me in class or via the discussion board on brightspace.

Coming Soon

  • Support for UART
  • support for SPI

About

Python GPIO library that uses the RPPAL rust crate under the hood

Resources

License

Stars

Watchers

Forks

Packages

No packages published