r/implRust • u/AstraKernel • 20d ago
Let it blink
1
Upvotes
First Post! Let's start with code snippet for LED blinking
loop {
info!("led on!");
led.set_high();
Timer::after_millis(500).await;
info!("led off!");
led.set_low();
Timer::after_millis(500).await;
}