Are you saying you need to vary the on and off times?
Just use the blink without delay example, and assign a different value to "interval" when you change the LED state.
Are you saying you need to vary the on and off times?
Just use the blink without delay example, and assign a different value to "interval" when you change the LED state.