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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/15/07 00:33
Read: times


 
#139258 - See Code Library
Responding to: ???'s previous message
http://www.8052.com/codelib/Word2BCD

As Joseph explained, once you've got the value in bcd, converting to ascii is just a matter of adding 30h to each bcd digit.

There's also a few other variations on a theme in the code library.

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