Interlocked buttons with clear troubleshooting

how about

#undef MyHW
#ifdef MyHW
const byte pinsBut [] = { A1, A2, A3 };
const byte pinsLed [] = { 11, 12, 13 };

#else
const byte pinsBut [] = { 2, 3, 4 };
const byte pinsLed [] = { 5, 6, 7 };
#endif

#define N   sizeof(pinsBut)

void setup() {
    for (unsigned n = 0; n < N; n++)  {
        pinMode (pinsBut [n], INPUT_PULLUP);
        pinMode (pinsLed [n], OUTPUT);
    }
}

void loop() {
    for (unsigned n = 0; n < N; n++)
        digitalWrite (pinsLed [n], digitalRead (pinsBut [n]));
}