Go Down

Topic: using 8 i/o pins at same time. (Read 634 times) previous topic - next topic


Jun 13, 2010, 10:23 am Last Edit: Jun 13, 2010, 10:37 am by bhags21 Reason: 1
Hi i want to know how to use 8 of the digital i/o pins at the same time?

e.g. pins 1,2,3,4,5,6,7 and 8 has output value of
             1,0,1,0,0,1,0 and 1 (which will be keep changing)

how can i output this data [glow]simultaneously[/glow] without any delay between two output signals??

the command
int pin1 = 1 ;
pinMode(pin1, OUTPUT);
digitalWrite( pin1, HIGH);
will drive only one pin at a time. So how to drive multiple pins at the same time?

thanks in advance  :)


You should look at this.


depending on the pins you pick and your board you can affect 8 pins at once.


"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131