Printing out Byte in C

Hi all,

Can anyone advise on how to display the data in a byte[24] variable, i.e can i use printf("%s", vairable_name);?

Cheers

Either use a loop and print each byte with

int i=0;
byte byte_array[24];

while (i < sizeof(byte_array))
{
     print("%02X",(int)byte_array);
     i++;
}

or build up the string yourself.

Thanks, Porter!