 #define DEBUG true
 
 // Pins configs for the buttons and switches
-const byte ARMING_SWITCH = 2;
+const byte ARMING_SWITCH = 8;
 const byte TRIGGER_BUTTON = 3;
 const byte ARMED_LED = 4;
 const byte FIRING_LED = 5;


void setup() {
  pinMode(TRIGGER_BUTTON, INPUT_PULLUP);
  pinMode(ARMING_SWITCH, INPUT_PULLUP);
  pinMode(ARMED_LED, OUTPUT);
  pinMode(FIRING_LED, OUTPUT);
  
  attachInterrupt(1,fireEvent,HIGH);

  startLog();
}


  note("armed");
}
void updateArmedState() {
  if (digitalRead(ARMING_SWITCH) == LOW) {
    stateMachine.transitionTo(readyState);
  }
  digitalWrite(ARMED_LED, HIGH);
