7 Segment LED code help

Im using the following code to test run the LED but output 1 segment (A) never turns off?

Thanks

int a=1, b=2, c=3, d=4, e=5, f=6, g=7, dp=8;
int pins[8] = {a,b,c,d,e,f,g,dp};

void setup() {
Serial.begin(9600);
for (int i = 0; i < 8; i++) {
pinMode(pins*, OUTPUT);*

  • }*

}
void loop() {

for (int i = 0; i < 8; i++) {
_ digitalWrite(pins*, HIGH);_
_
delay(250);_
_
}*_

for (int i = 0; i < 8; i++) {
_ digitalWrite(pins*, LOW);
delay(50);
}*_

}

output 1 segment (A) never turns off?

Because pin 1 is used by the serial communications along with pin 0 so don't use it.

Ok thanks