-
Have you tested JUST the digital input to make sure it is stable? What is the source of the digital input?
-
Values you are testing against millis() against and number of outputs do not correspond with the following description:
condition_1: **when digital input is high ** : digital output_1 will be high from 0 to 10 seconds & that time digital output_2 will be low. Then from 11 to 20 seconds digital output_2 will be high and that time digital output_1 will be low. This loop will continue as long as digital input is high.
condition_2: when digital input is low : both digital output_1 and digital output_2 will be low.
- If the input goes LOW and then HIGH again should condition_1 timings start all over again or resume?