CrossRoads:
If you have already used pinMode to declare the pins at OUTPUTs, you can do this:
PORTC = B11111111;
to set the pin high at one time for that port.
Much faster than 8 digital writes.
With 11 pins, you will have at least 2 ports in use.
Figure out which ports you are using.If you want to set only certain bits high:
PORTC = PORTC | B00001100; // set bits 2,3 high, leave rest aloneIf you want to clear only certain bits low:
PORTC = PORTC & B11110011; // clear bits 2,3 low, leave rest along
Thank You.
I will have to take some time to study the above tip. I have not reached, possibly skipped, this section Crossroads.