From 3f84a015e8f360cf628e141dcc99747a44d0d6ad Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 28 Jan 2026 09:10:49 +0800 Subject: [PATCH] Fix example build Either need to use `--examples` or `--example linux`. Signed-off-by: Daniel Schaefer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de9736f..5c38cb3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This driver allows you to: To use this driver, import this crate and an `embedded_hal` implementation, then instantiate the appropriate device. See the `examples` folder for example code. -Run it on Linux with `cargo build --examples linux && sudo ./target/debug/examples/linux`. +Run it on Linux with `cargo build --examples && sudo ./target/debug/examples/linux`. It's hardcoded to bus `/dev/i2c-3` and I2C address 0b10000 (grounded). ## Discussion