antoninhrlt / raslib

Manage Raspberry PI devices with Rust. GPIO ports and direct support for L298N circuit motors
https://crates.io/crates/raslib
MIT License
6 stars 0 forks source link
electronics embedded gpio l298n raspberry raspberrypi rust
raslib logo # raslib [![raslib's crate badge](https://img.shields.io/crates/v/raslib.svg)](https://crates.io/crates/raslib) [![license badge](https://img.shields.io/github/license/antoninhrlt/raslib)](LICENSE) [![documentation badge](https://img.shields.io/badge/documentation-docs.rs-blue)](https://docs.rs/raslib/latest/raslib/) **raslib** is a library to manage **Raspberry PI** devices, written in [Rust](https://rust-lang.org). It provides GPIO[¹](https://en.wikipedia.org/wiki/General-purpose_input/output) ports access in order to manage [leds](#blink-a-led) or motors (direct support for [L298N](#l298n-motor) circuit motors). [Installation](#installation) • [Overview](#overview) • [Examples](#examples)

Installation

In your "Cargo.toml" file :

[dependencies]
raslib = "*"

Check the current version on crates.io.

Overview

[GPIO](#gpio) • [L298N](#l298n) • [Utils](#utils)