Update embedded-hal to 1.0.0-rc.3

This commit is contained in:
Dario Nieuwenhuis
2023-12-14 16:01:51 +01:00
parent 2c3d399220
commit d81395fab3
41 changed files with 238 additions and 203 deletions

View File

@ -12,7 +12,7 @@ async fn main(_spawner: Spawner) {
let p = embassy_stm32::init(Default::default());
info!("Hello World!");
let button = Input::new(p.PB2, Pull::Up);
let mut button = Input::new(p.PB2, Pull::Up);
let mut led1 = Output::new(p.PA5, Level::High, Speed::Low);
let mut led2 = Output::new(p.PB5, Level::High, Speed::Low);