Have this start at 2:
for (int thisPin = 0; thisPin < pinCount; thisPin++){
pinMode(digiPins[thisPin], OUTPUT);
"perhaps A =10, B=11, C=12, D=13, E=14, F=15.
You mean store symbols in the array instead of ints?"
No, I chose letters because they are hexadecimal values.
So your array could consist of {2,3,4,5,6,7,8,9,10,11,12,13};
then do Nick's test for whatever characters you decide to use, such as 'A' thru 'F'
int incomimgPin = Serial.read();
Serial.println(incomingPin);
// test for range 2-9
thisPin = incomingPin - 48;
Serial.println(thisPin);
if (thisPin >= 0 && thisPin <= 9)
{
digitalWrite (digiPins[thisPin], HIGH); // set the pin high
delay (1000); // hold it high for one second
digitalWrite (digiPins[thisPin], LOW); // and back low.
}
// test for range A-F
thisPin = incomingPin - 65 + 10;
Serial.println(thisPin);
if (thisPin >= 10 && thisPin <= 15)
{
digitalWrite (digiPins[thisPin], HIGH); // set the pin high
delay (1000); // hold it high for one second
digitalWrite (digiPins[thisPin], LOW); // and back low.
}