Hello My recommendation to code a sketch for this task by using the BlinkWithOutDelay example of the IDE.