 #define STATE_MSG 1
 #define STATE_ACK 2
 
+#define LED_BUTTON 10
+#define LED_UID 11
+#define LED_MSG 12
+#define LED_ERR 13
+#define BUTTON 8
+
+
 #define DEBUG_MODE false
 #define WAIT_TIME 1000 // time to wait for response
 

 *  Big Button Press and Big Button LED control
 */
void bigButtonPress() {
  buttonState = digitalRead(bigButtonPin);
  if (buttonState == HIGH) {
    digitalWrite(buttonledPin, LOW);
    if(lastButtonState != buttonState) {
      isSubmitButtonPressed = true;
    }
  } else {
    digitalWrite(buttonledPin, HIGH);
  }
  lastButtonState = buttonState;
}

boolean isSubmitButtonPressed;
uint8_t buttonState = 0;
uint8_t lastButtonState;

uint16_t validUserIDs[3] = {4680, 38505, 42405};
uint8_t authenticatedUser;
