using 8 i/o pins at same time.

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 simultaneously 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 :slight_smile:

You should look at this.

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

Someone posted this recently:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1276417833