Michael,
You state that the wires can be fixed…”just change the assignment in the function countdown().
Then you show DefuseWire=Wire_2;
However when searching for “DefuseWire” in the program it can’t be found. Please clarify or let me know what to change in the following function:
void countdown() {
int ledCounter = 0;
int ledCounterThreshold = 100000;
byte ledCurrentState = HIGH;
byte defusePin;
byte detPin;
boolean defused = false;
countdownRunning = true;
int fractionalSecond;
// assign random pins
defusePin = random(WIRE_1, (WIRE_4+1));
detPin = defusePin;
while (detPin == defusePin) {
detPin = random(WIRE_1, (WIRE_4+1));
}