Delays

The microbit has 3 timers, the micro:bit crate currently only supports using TIMER0.


# #![allow(unused_variables)]
#fn main() {
if let Some(p) = microbit::Peripherals::take() {
    let mut delay = Delay::new(p.TIMER0);
    delay.delay_ms(1000_u32);
}
#}