I need help on a program....

:~ Can someone help me, I need a program for arduino when press and hold a button for long period of time LED is on the off within a short duration of time, the time itself can be modified by milliseconds. Thanks

What do you have so far?