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

@ -17,7 +17,7 @@ async fn main(_spawner: Spawner) {
// Use PIN_28, Pin34 on J0 for RP Pico, as a input.
// You need to add your own button.
let button = Input::new(p.PIN_28, Pull::Up);
let mut button = Input::new(p.PIN_28, Pull::Up);
loop {
if button.is_high() {