thanks all for your help. I am new here. let me explain what i want to execute through code:
- there will be one digital input signal
- two digital output signal
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.
** I am trying to learn "Auto Format the code in the IDE". I will post the code in that format after a while.