hi..........
I'm new to embedded, in my project I need convert 16 bit hexadecimal to decimal and need to display it on LCD. please help me.........I'm using at89s51 micro controller.
I think u didnt get wat want friend actually i need to treat that entire array as an hexadecimal string and convert it to decimal then to display it into LCD. that I'm working in micro controller 89s51
I think u didnt get wat want friend actually i need to treat that entire array as an hexadecimal string and convert it to decimal then to display it into LCD. that I'm working in micro controller 89s51
the first thin is that u cant send decimal to the LCD, you have to send the ascii value of the decimal number that you want to display
so first of all you have to change the hex to decimal,then separate the digits like, if it is 15 in decimal,you have to separate 1 and 5...then make 1--> 31(hex)..this is the ascii for one send it to lcd and then again make 5-->35(hex)..and again send it to lcd,this will display 15 on lcd