   note("ready");
 }
 void updateReadyState() {
-  if (digitalRead(ARMING_SWITCH) == HIGH) {
+  armedStatus();
+  if (armed) {
     stateMachine.transitionTo(armedState); 
   }
 }


// Logging and debug controls
#define DEBUG true

// Pins configs for the buttons and switches
const byte ARMING_SWITCH = 8;

  note("fired!");
  digitalWrite(FIRING_LED, LOW);
  clearTimer(timerFiringState);
}

// Switch state helpers
void armedStatus() {
  if (digitalRead(ARMING_SWITCH) == LOW) {
    armed = false;
  } else {
    armed = true; 
  }
}

// Timing helpers
