rpi-relay-lib 0.1.1

GPIO relay control library for Raspberry Pi
Documentation
1
2
3
4
5
6
7
8
9
10
11
# rpi-relay-lib

A Rust library for controlling GPIO relays on a Raspberry Pi using the `rppal` crate.

## Example

```rust
use rpi_relay_lib::relay::{Relay, LogicLevel};

let mut relay = Relay::new(24, LogicLevel::ActiveHigh).unwrap();
relay.trigger(150);