1

Is it possible to do something like this: send a HIGH signal to an output pin, after a 0.33s delay arduino sends HIGH signal to another pin, and after another 0.33s delay, arduino sends signal to third pin. There has to be 90 seconds long high signal for each pin, but with 0.33s delay between each other.

Sooo something like this; start of the high signal on left, stop on right side:

pin1: 0 ...... 90.00
pin2: 0.33 ... 90.33
pin3: 0.66 ... 90.66

Is there a way to solve this?

asked Nov 24, 2015 at 20:51

1 Answer 1

3

Yes. Read the BlinkWithoutDelay example and triplicate it.

answered Nov 24, 2015 at 20:55
1
  • Great, thank you! So if I just need to do it once (no need to blink in my case) I can do a while loop with a counter (to 3, for 3 pins), and increment the counter (+set the signal to LOW) when there is 90s (90000ms) from the start. Commented Nov 24, 2015 at 21:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.