Update embedded-hal to 1.0.0-rc.3
This commit is contained in:
parent
2c3d399220
commit
d81395fab3
41 changed files with 238 additions and 203 deletions
docs/modules/ROOT/examples/layer-by-layer/blinky-hal/src
|
@ -9,7 +9,7 @@ use {defmt_rtt as _, panic_probe as _};
|
|||
fn main() -> ! {
|
||||
let p = embassy_stm32::init(Default::default());
|
||||
let mut led = Output::new(p.PB14, Level::High, Speed::VeryHigh);
|
||||
let button = Input::new(p.PC13, Pull::Up);
|
||||
let mut button = Input::new(p.PC13, Pull::Up);
|
||||
|
||||
loop {
|
||||
if button.is_low() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue