Have a look at the "Blink without delay" sketch in the Arduino IDE Examples.
That sketch has the same on time and off time, but could be modified for your requirements
Have a look at the "Blink without delay" sketch in the Arduino IDE Examples.
That sketch has the same on time and off time, but could be modified for your requirements