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