improvements to semestralka 2
This commit is contained in:
@@ -13,12 +13,12 @@ async fn main(_spawner: Spawner) {
|
||||
let p = init(Config::default());
|
||||
|
||||
let mut output_pin = Output::new(p.PA3, Level::Low, Speed::Low);
|
||||
let mut artificial_ground = Output::new(p.PB0, Level::Low, Speed::Low);
|
||||
let mut _artificial_ground = Output::new(p.PB0, Level::Low, Speed::Low);
|
||||
|
||||
loop {
|
||||
output_pin.set_high();
|
||||
Timer::after(Duration::from_millis(500)).await;
|
||||
output_pin.set_low();
|
||||
// output_pin.set_low();
|
||||
Timer::after(Duration::from_millis(500)).await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user