 long timerStartupState = 0;
 long timerFiringState = 0;
 
-// Status of the ARMED switch
-boolean armed = false;
-
 // FSM states
 State startupState = State(enterStartupState,updateStartupState,leaveStartupState);
 State readyState = State(enterReadyState,updateReadyState,leaveReadyState);

  note("armed");
}
void updateArmedState() {
  if (!armed) {
    stateMachine.transitionTo(readyState);
  }
  digitalWrite(ARMED_LED, HIGH);

#define DEBUG true

// Pins configs for the buttons and switches
const byte ARMING_SWITCH = 8;
const byte TRIGGER_BUTTON = 3;
const byte ARMED_LED = 4;
const byte FIRING_LED = 5;
