Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / Re:  control 8 digital outs at same time??? on: February 04, 2007, 04:34:56 am
I want them all to be cycling at the same time. They should all start at the same time then get off from each other via there time.

Not a sequence - they all trigger simultaneously.

Any examples of code would be great to look at.

Thanks again,
Noah.
2  Forum 2005-2010 (read only) / Syntax & Programs / control 8 digital outs at same time??? on: February 04, 2007, 01:03:09 am
I am trying to control 8 solenoids from digital outs all with independent on / off times

for example...

solenoid1 on for 500ms then off for 20 seconds.
solenoid2 on for 500ms then off for 30 seconds.
solenoid3 on for 500ms then off for 35 seconds.
solenoid4 on for 500ms then off for 40 seconds.
solenoid5 on for 500ms then off for 50 seconds.
solenoid6 on for 500ms then off for 55 seconds.
solenoid7 on for 500ms then off for 62 seconds.
solenoid8 on for 500ms then off for 70 seconds.

all cycles going at the same time for ever and ever... (mabye 9 1/2 hours will have to do.)

I have the circuits working but I can't figure out how to write the code to make them work all at the same time poly-rhythmically.

What don't am I doing wrong?

I am on a tight deadline and any help would be greatly appreciated.

Thanks,

Noah.
Pages: [1]