Selaa lähdekoodia

Fix broken LED example (#26)

TheZoq2 5 vuotta sitten
vanhempi
säilyke
b7ac48983d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/led.rs

+ 1 - 1
examples/led.rs

@@ -25,7 +25,7 @@ fn main() -> ! {
     gpioc.pc9.into_push_pull_output(&mut gpioc.crh).set_high();
 
     #[cfg(feature = "stm32f103")]
-    gpioc.pc13.into_push_pull_output(&mut gpioc.crh).set_high();
+    gpioc.pc13.into_push_pull_output(&mut gpioc.crh).set_low();
 
     loop {}
 }