fn delay_ms(ms: u32) {
    let mut i = ms * 7_200;
    while i > 0 {
        i -= 1;
    }
}
// A low effort and not really accurate
// delay for n milliseconds function.
// I mainly just want the delay to be proportional
// to the input. Seems to work fine.
A low effort and not really accurate
delay for n milliseconds function.
I mainly just want the delay to be proportional
to the input. Seems to work fine.
A low effort and not really accurate delay for n milliseconds function . I mainly just want the delay to be proportional to the input . Seems to work fine .
fn delay_ms(ms: u32) {
    let mut i = ms * 7_200;
    while i > 0 {
        i -= 1;
    }
}
fn delay_ms ( ms : u32 ) { let mut i = ms * 7_200 ; while i > 0 { i -= 1 ; } }
A low effort and not really accurate
delay for n milliseconds function.
A low effort and not really accurate delay for n milliseconds function .
ms
u32
ms
u32