blob: 389257a354f80f6f49ba0ff65baadebf33d6cf1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use rust_threadx_rp_pico_2040 as _;
use std::{thread, time::Duration};
fn main() {
let mut count = 0_usize;
loop {
println!("Hello world! The count is {count}\r");
thread::sleep(Duration::from_millis(1_000));
count = count.wrapping_add(1);
}
}
|