Flash LED inside main function.