user50430: I am receiving bytes, converting them into hex and now I need to convert the hex to ASCII. Can it be done on an Arduino? Or do I need something else? 
I am new to programming with Arduino.

user37622: If you have a byte variable b, you can 

write(b) it as it is. if it is ASCII code of a readable character, the Serial Monitor will display it as that character, for example for 65 it will printt 'A'
print it as decimal number with print(b). for 65 it will print "65"
print it as hexadecimal number with print(b, HEX). for 65 it will print "41"
print it as a number in other base with print(b, base), for example print(b, 2) will print 1000001 if b is 65 in decimal 


50430: <p>I am receiving bytes, converting them into hex and now I need to convert the hex to ASCII. Can it be done on an Arduino? Or do I need something else? 
I am new to programming with Arduino.</p>
 37622: <p>If you have a byte variable <code>b</code>, you can </p>

<ul>
<li><code>write(b)</code> it as it is. if it is ASCII code of a readable character, the Serial Monitor will display it as that character, for example for 65 it will printt 'A'</li>
<li>print it as decimal number with <code>print(b)</code>. for 65 it will print "65"</li>
<li>print it as hexadecimal number with <code>print(b, HEX)</code>. for 65 it will print "41"</li>
<li>print it as a number in other base with <code>print(b, base)</code>, for example <code>print(b, 2)</code> will print 1000001 if b is 65 in decimal </li>
</ul>
