arduino serial communication hex code parsing

I hacked this one.

|500x349 According to this picture.

|500x331 I did this.

and |500x93 this |500x331 this |500x331 this |500x331 this

ultimately |500x319

succeeded but my arduino IDE serial monitor doing |500x287 like this

My question is this.

I want to see that hex code at arduino monitor.

And parse it to dicimal type or ascii and so on.

What do I have to do? Please help me.

What do I have to do?

Post your code.

if(yourbyte<0x10)
{
  Serial.print("0");
}
Serial.print(yourbyte, HEX);

Will print the two nibbles of a byte.

sterretje:

if(yourbyte<0x10)

{
  Serial.print(“0”);
}
Serial.print(yourbyte, HEX);



Will print the two nibbles of a byte.

Thank you so much.
I’ll try your code.