How can I make a led blink on the dashboard?

I know how to control the led but I don't know how to make it blink