Hello,
I have some code that dumps the UUID (serial number) of RFID NFC tag, and than I'm sending it to HID keyboard using Keyboard.print function.
But now i need to add "enter" at the end of output.
So i figured out that i will add newline character, but the result is for example for 4 byte UUID that should give FFFFFFFF"enter"
gives:
FF
FF
FF
FF
So after every character it puts newline, how to fix it ?
I also tried Keyboard.println(); , but that does not do anything in the output (no enter)
void Keyboard_print_byte_array(byte *buffer, byte bufferSize) {
for (byte i = 0; i < bufferSize; i++) {
Keyboard.print(buffer[i] < 0x10 ? "0" : "");
Keyboard.print(buffer[i], HEX);
Keyboard.print('\n');
}
}