 // command packet - start, address, data length, command, data[0 to 2], end
 // response packet when idle - 0xAA, 0x00, 0x02, 0x01, 0x83, 0x80, 0xBB
 char get_readID[] = { 0xAA , 0x00, 0x03, 0x25, 0x26, 0x00, 0x00, 0xBB };
-byte response[11];
+byte response[15];
+
 const int ledPin = 13;
 const int signalPin = 4;
-bool standby;
-unsigned long elapsedTime;
+const int debounce = 25;
 
 void setup() {
   Serial.begin(57600);

  unsigned long startTime, endTime = 0;
  int signalState;
  int previousState = NULL;
  while(standby == false) {
    // read signal state
    signalState = digitalRead(signalPin);
    delay(25);

    // debounce check
    if (signalState == digitalRead(signalPin)) {

#include <SoftwareSerial.h> 

/* RFID Reader
   Uses RDM880 breakout board with RX connected to pin 2 and TX connected to pin 3. 
