Sowas kannst du dir sparen:
int pinA[] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW};
Einfach so:
const int SIZE = 20;
int pinA[SIZE];
Da das Array global ist wird es automatisch mit 0 initialisiert. Wobei byte als Datentyp völlig ausreicht.