Is it possible to assign many pins to one variable?

Yes this does make sense. Sorry for the bad communication but here is what I was trying to say. I'll try and guide you step by step.

int a1 = 2, b1 = 3, c1 = 4, d1 = 5, e1 = 6, f1 = 7, g1 = 8;
//Pins 2-8 are given values that correspond with the segments on LCD display ex: Pin 2 = a1(segment 1), Pin 3 = b1(segment 2) etc...
[code]

int nine = a1, b1, c1, d1, f1, g1;
//In order to show the number 9 on the display, all these segments need to receive a high signal (except e1)
int a1 = 2, b1 = 3, c1 = 4, d1 = 5, e1 = 6, f1 = 7, g1 = 8;
int nine = a1, b1, c1, d1, f1, g1;

void setup(){

}

void loop (){
digitalWrite(nine, HIGH);
delay(500);
digitalWrite(nine, LOW);
delay(500);
}
//This is what I thought would make number 9 blink on the display but clearly its wrong

Sorry if this may sound confusing, i'm new to using the arduino and have little experience

sketch_sep10_1.ino (195 Bytes)