cancel
Showing results for 
Search instead for 
Did you mean: 

Hex to Char without change!

AMard.1510
Associate II

Hi every body!

How Can I convert byteArray[] (in hex format) to data[] (in char format):

uint8_t byteArray[] = { 0x4D, 0x04, 0x01, 0x18, 0x05, 0x05, 0x0C, 0x0E, 0x0C, 0x05, 0x0F };

char data[] = "4D04011805050C0E0C050F";

Thank you!

1 REPLY 1

Work through the array with itoa() ?

#LearnToCode

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..