Specify unit in log output
This commit is contained in:
parent
c777b6aae1
commit
e807a9eaec
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let value = temp.read().await;
|
let value = temp.read().await;
|
||||||
info!("temperature: {}", value.to_num::<u16>());
|
info!("temperature: {}℃", value.to_num::<u16>());
|
||||||
Timer::after(Duration::from_secs(1)).await;
|
Timer::after(Duration::from_secs(1)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue