refactor read temperature example
This commit is contained in:
parent
b261eb61a2
commit
28eedb1266
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ use linux_embedded_hal as hal;
|
||||||
use linux_embedded_hal::{Delay, I2CError};
|
use linux_embedded_hal::{Delay, I2CError};
|
||||||
use log::info;
|
use log::info;
|
||||||
|
|
||||||
|
// Please export RUST_LOG=info in order to see logs in the console.
|
||||||
fn main() -> result::Result<(), Error<I2CError>>
|
fn main() -> result::Result<(), Error<I2CError>>
|
||||||
{
|
{
|
||||||
env_logger::init();
|
env_logger::init();
|
Loading…
Reference in a new issue