Hex

From ElectroDragon Wiki

Powershell

Command line


Data

char str2 [] = {0xF2, 0x5A, 0x02, 0xE0, 0xB8, 0x07, 0x34, 0x2D, 0x00, 0x3E, 0x67, 0x07, 0x22, 0xDC, 0x4D, 0xED, 0x38, 0xDF, 0xEC, 0x33, 0x61, 0x00, 0x00, 0x7D};

print

for (int i = 0; i < sizeof (str2); i++) {
   Serial.print(str2[i]);
}

Hex Write

  • Use mySerial.write instead of mySerial.print, avoid lost of 0x00