I really need help to convert decimal number to equivalent ASCII.
I store decimal value in x.
for example int x = 255;
and I want to display it also as '255' in HyperTerminal.
Hope someone can help me :)
I already converted a decimal value into ASCII. And I can display it in HyperTerminal.
I managed to convert and display a single number. I just add 48 to that number and it will show the number that I want in HyperTerminal since 48 decimal = 0 ASCII
I just didn't have idea how to convert 3 digit decimal to it's equivalent ASCII.