pico-de-gallo-lib 0.5.0

High-level library to communicate with Pico de Gallo device
Documentation

Pico de Gallo Lib

crates.io docs.rs

Async host-side library for communicating with a Pico de Gallo USB bridge device. Provides typed methods for I²C, SPI, GPIO, and device configuration over USB.

Requires the tokio async runtime.

Quick Start

use pico_de_gallo_lib::PicoDeGallo;

#[tokio::main]
async fn main() {
    let gallo = PicoDeGallo::new();
    let version = gallo.version().await.unwrap();
    println!("Firmware v{}.{}.{}", version.major, version.minor, version.patch);
}

See the examples for more usage patterns.

License

Licensed under the terms of the MIT license.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the terms of the same MIT license, without any additional terms or conditions.