I am trying to get my head around converting a binary number to ASCii characters for an LCD display.
I am currently converting a 10 bit number into ones,tens,hundreds,thousands. Then using a lookup table to find the correct number in ASCii then forward it to the display.
I am trying to get my head around converting a binary number to ASCii characters for an LCD display.
I am currently converting a 10 bit number into ones,tens,hundreds,thousands. Then using a lookup table to find the correct number in ASCii then forward it to the display.
I am coding in ASM and have used the above example for displaying text. I as I am displaying numbers I have realised I can
add 48 to the digit I wish to display.