/axp192-rs

Rust driver for the AXP192 PMU using embedded-hal

Primary LanguageRustMIT LicenseMIT

AXP192 Power Management IC, Rust library

Build status docs.rs Crates.io

Example

examples/m5stack-core2.rs demonstrates configuring and reading from the AXP192 on an M5Stack Core2.

This example uses the Rust on ESP toolchain and esp32-hal crate, which requires some setup.

You can run this example on your device with cargo run --example m5stack-core2.