refactor read temperature example

This commit is contained in:
Denis-Cosmin Nutiu 2024-02-25 20:48:10 +02:00
parent b261eb61a2
commit 28eedb1266

View file

@ -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<I2CError>>
{
env_logger::init();