TelephoneBill
Well-known member
Is there a simple way to force the printing of leading zeroes when using "Serial.print(Byte1,HEX)" where Byte1 = 0x01?
I'm printing here to the SERIAL MONITOR. I'm wanting to print several bytes consecutively (Bytes 1 to 8), and leading zeros would help me visually parse the string.
I'm printing here to the SERIAL MONITOR. I'm wanting to print several bytes consecutively (Bytes 1 to 8), and leading zeros would help me visually parse the string.