Grouping multiple pins to one variable I'm new to all of this, but it's there a way to group a cluster of pins to one variable? I don't necessarily want the grouped pounds to be sequential.
Only if you drop to low-level access, and only if the pins are on the same port.

#define pinset 0x55

 ...

PORTC |= pinset;
delay(1000);
PORTC &amp;= ~pinset;