diff options
| author | diogo464 <[email protected]> | 2025-12-05 19:29:52 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-12-05 19:29:52 +0000 |
| commit | 3a3d635adddf5cb16a93827e688e061613a083d7 (patch) | |
| tree | e6be0a075f80d5cfb11b1882e0086727bfe699e9 /examples/button.rs | |
| parent | b609a315e7921dcc712da6955890f4dc7c2c4b9f (diff) | |
reworked logging
Diffstat (limited to 'examples/button.rs')
| -rw-r--r-- | examples/button.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/button.rs b/examples/button.rs index d1d2159..e3d7086 100644 --- a/examples/button.rs +++ b/examples/button.rs | |||
| @@ -31,7 +31,7 @@ async fn main_task(spawner: Spawner) { | |||
| 31 | async fn button_task(mut button: embassy_ha::Button<'static>) { | 31 | async fn button_task(mut button: embassy_ha::Button<'static>) { |
| 32 | loop { | 32 | loop { |
| 33 | button.pressed().await; | 33 | button.pressed().await; |
| 34 | println!("The button has been pressed"); | 34 | tracing::info!("The button has been pressed"); |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
| 37 | 37 | ||
