Write BYTES to MIFARE without trancoding to ASCII-HEX

Hi,

@gcjr wow, thats perfect, it's exactly what I want!

Firmware Version: 0x92 = v2.0
Scan PICC to see UID, SAK, type, and data blocks...
Card UID: 04 93 D4 12 5F 70 80
Card SAK: 00
PICC type: MIFARE Ultralight or Ultralight C
Page  0  1  2  3
  0   04 93 D4 CB
  1   12 5F 70 80
  2   BD 48 00 00
  3   E1 10 3E 00
  4   03 00 FE 00
  5   00 00 00 00
  6   11 B7 01 E0
  7   BD B8 B0 D7
  8   76 F2 C5 20
  9   C9 74 8A DE
 10   57 C1 BE 9A
.
.
.

The last question is, how do I get from this:

String input = "11b701e0";

to this:

byte input[][DATA_LEN] = {0x11, 0xb7, 0x01, 0xe0};

The one problem is, that I get this string from the serial port and I first have to put it in the right format. I struggle with that because the Arduino platform doesn't give me the tools to "look behind the curtain" and figure it out by my own (as I usually get past issues in Matlab e.g).

Thank you very much, let's get the last problem resolved :slight_smile: