#include <stdint.h>
#include <stdlib.h>
//#include "iso15693tools.h"
+#ifdef ON_DEVICE
+#include "printf.h"
+#else
+#include <stdio.h>
+#endif
+
#define POLY 0x8408
return n+2;
}
-#ifdef ON_DEVICE
-int sprintf(char *str, const char *format, ...);
-#endif
// returns a string representation of the UID
// UID is transmitted and stored LSB first, displayed MSB first