user23667: 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.

user368: 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 &= ~pinset;


23667: <p>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.</p>
 368: <p>Only if you drop to low-level access, and only if the pins are <a href="https://www.arduino.cc/en/Reference/PortManipulation">on the same port</a>.</p>

<pre><code>#define pinset 0x55

 ...

PORTC |= pinset;
delay(1000);
PORTC &amp;= ~pinset;
</code></pre>
