 
       // Wait atleast 40ns (P5A)
       delayMicroseconds(1);
-      SerialUSB.write("Sent 4 command bits and 16 data payload bits\r\n");
+      //SerialUSB.write("Sent 4 command bits and 16 data payload bits\r\n");
 
       return true;
     }

  {
    char c = SerialUSB.read();

    if (c == '\n' || c == '\r')
    {
      serialcomplete = true;
      break;
    }
    input += c;

// Arduino RN2483 programmer
// Implemented using http://ww1.microchip.com/downloads/en/DeviceDoc/41398B.pdf
#define SIZE 14
#define MCLR 4
#define PGD 5
#define PGC 6

int keyseq[] = {0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0};
int testseq[SIZE] = {0xFE, 0xED, 0xFD, 0xAA, 0xDA, 0x01, 0x01, 0x02, 0x13, 0x37, 0x19, 0x93, 0x4E, 0xFA};
bool serialcomplete = false;
bool inLVP = false;
String input = "";

void setup()
