Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/14/07 09:07
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#139205 - Display number on LCD 2x16
Dear All,

I want to display number of calculation result that i saved in memory into LCD 2x16 using MCS51 in asm code, but i have no idea to make it.

I just know how to send character and string into LCD , but i dont know how to send number from that calculation result directly.

For example:
n x 20 = m

--> 20 = constanta that already i defined before
--> n = variable value that increase based on program counter value
--> m = result of calculation value that i want to display to LCD

For your information:
- i used port 1.4-1.7 for data adrres LCD using 4 bit mode (D4-D7)
- EN using port 2.4
- RW using port 2.5
- RS using port 2.3



Could anyone help me?
Thank you and best regards.

Lutfi




List of 12 messages in thread
TopicAuthorDate
Display number on LCD 2x16            01/01/70 00:00      
   How far have you got?            01/01/70 00:00      
   perhaps reading the datasheet would help            01/01/70 00:00      
      Andy & Richard            01/01/70 00:00      
         Sorry!            01/01/70 00:00      
         Apologies where due, I guess I missed that.            01/01/70 00:00      
   A bit of help            01/01/70 00:00      
      See Code Library            01/01/70 00:00      
   convert to ASCII            01/01/70 00:00      
      Not BCD            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      LCD asm printf function            01/01/70 00:00      

Back to Subject List