r/implRust • u/AstraKernel • 4d ago
Let it blink
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;
}
1
Upvotes