From 28eedb1266cf4f6d20f8d63dae249f7ee61bba7e Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Sun, 25 Feb 2024 20:48:10 +0200 Subject: [PATCH] refactor read temperature example --- examples/{reading_temperature.rs => reading_sensor_data.rs} | 1 + 1 file changed, 1 insertion(+) rename examples/{reading_temperature.rs => reading_sensor_data.rs} (96%) diff --git a/examples/reading_temperature.rs b/examples/reading_sensor_data.rs similarity index 96% rename from examples/reading_temperature.rs rename to examples/reading_sensor_data.rs index 17aa41f..2fac44b 100644 --- a/examples/reading_temperature.rs +++ b/examples/reading_sensor_data.rs @@ -8,6 +8,7 @@ use linux_embedded_hal as hal; use linux_embedded_hal::{Delay, I2CError}; use log::info; +// Please export RUST_LOG=info in order to see logs in the console. fn main() -> result::Result<(), Error> { env_logger::init();