//! Blinks an LED : on_time: 2 seconds and off_time: 3 seconds
userust_gpiozero::*;fnmain(){// Create a new LED attached to Pin 17
letmut led =LED::new(17);// on_time = 2 secs, off_time=3 secs
led.blink(2.0,3.0);// prevent program from exiting immediately
led.wait();}