Quote Originally Posted by Early1
This is easy to do.

Create a variable byte

i byte
Myvar byte[10] make the array the same size as the number of paterns you would like.
Myvar[0]= some patern
Myvar[1]= next patern
Myvar[2]= another patern

etc

for i =0 to 10
portb=myvar[i]
delay
portb=0
next i

Thanks for the reply, when you say myvar[0] = some pattern, how would I define the arrays? Would it be "00110011" etc or decimal numbers "xxx, xx, xx"

Yeah I too was looking for the option of deleting my own posts after multiple post occured, but it looks like that is only available to the mods