 void sendBytes(uint8_t* bytes,long len) 
 {
   fillChecksum(bytes,len);
-
+  int i = 0;
+  /*Serial.print("< ");
+  for (i = 0; i < len; i++) {
+    Serial.print(bytes[i],HEX);
+    Serial.print(" ");
+  }
+  Serial.println();*/
   if (Serial.write(bytes,len) != len)
     error(10);
 }

{
  //Get empty command so memory is zeroed, and len is set
  CommandPacket* packet = getCommand(NIL);
  readBytes((uint8_t*)packet,packet->len);
}
/**
 * Reads bytes.  All is little endian so no conversion necessary.
 * bytes - pointer to bytes to read into
 * len - length of bytes
 */
void readBytes(uint8_t* bytes,long len)
{
  //Read bytes waiting if data is not found
  long i = 0;
  for (i = 0; i < len; i++)
  {
    int b = Serial.read();
    if (b == -1)
      delay(10);
    bytes[i] = (uint8_t) b;
  }
}


  IDENTIFY = 0x51,
  CAPTURE_FINGER = 0x60,
  ACK = 0x30,
  NAK = 0x31,
  DELETE_ALL = 0x41
} Command;

/**
