aboutsummaryrefslogtreecommitdiff
path: root/crates/imxrt1170evk/src/main.rs
blob: 737a6cca7cf63c11bc3fe3ac7a627001e2448cbe (plain)
1
2
3
4
5
6
7
8
9
10
use rust_threadx_imxrt1170evk as _;

fn main() {
    let mut count = 0_usize;
    loop {
        println!("Hello world! The count is {count}");
        count = count.wrapping_add(1);
        std::thread::sleep(std::time::Duration::from_millis(500))
    }
}