       // Wait atleast 40ns (P5A)
       delayMicroseconds(1);
       SerialUSB.write("Sent 4 command bits and 8 data payload bits\r\nResponse: ");
-      SerialUSB.print(String(response, BIN)+"\r\n");
+      SerialUSB.print(String(response, HEX)+"\r\n");
       
       return response;
     } else {

      for (int n = 0; n < 16; n++) {
        //Lower PGC and write bit to PGD
        digitalWrite(PGC, LOW);
        digitalWrite(PGD, bitRead(cmd, n));
        delayMicroseconds(1);
        
        //Raise PGC to send bit

      for (int n = 0; n < 8; n++) {
        //Lower PGC and write bit to PGD
        digitalWrite(PGC, LOW);
        digitalWrite(PGD, bitRead(payload, n));
        delayMicroseconds(1);
        
        //Raise PGC to send bit
