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
.