diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-12-14 16:01:51 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-12-14 16:19:32 +0100 |
| commit | d81395fab3c4e336650b0481790ecdab7d7aa13f (patch) | |
| tree | 449a894b8564dde713fff1e83cd717d263327b96 /docs/modules/ROOT | |
| parent | 2c3d3992200939f71708c8b47d839328dcb12098 (diff) | |
Update embedded-hal to 1.0.0-rc.3
Diffstat (limited to 'docs/modules/ROOT')
| -rw-r--r-- | docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src/main.rs b/docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src/main.rs index d0c9f4907..54b87662e 100644 --- a/docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src/main.rs +++ b/docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src/main.rs | |||
| @@ -9,7 +9,7 @@ use {defmt_rtt as _, panic_probe as _}; | |||
| 9 | fn main() -> ! { | 9 | fn main() -> ! { |
| 10 | let p = embassy_stm32::init(Default::default()); | 10 | let p = embassy_stm32::init(Default::default()); |
| 11 | let mut led = Output::new(p.PB14, Level::High, Speed::VeryHigh); | 11 | let mut led = Output::new(p.PB14, Level::High, Speed::VeryHigh); |
| 12 | let button = Input::new(p.PC13, Pull::Up); | 12 | let mut button = Input::new(p.PC13, Pull::Up); |
| 13 | 13 | ||
| 14 | loop { | 14 | loop { |
| 15 | if button.is_low() { | 15 | if button.is_low() { |
