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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/12/05 10:08
Read: times


 
#103619 - Representing numbers as characters
Responding to: ???'s previous message
The LCD works with characters - not numbers;
the register contains a number.

Therefore, What you need to do is to determine the characters required to display the number.

Saji Jacob George recently presented code to do this, to which I added detailed comments:
http://www.8052.com/forum/read.phtml?id=103000

List of 10 messages in thread
TopicAuthorDate
need help with a routine to split a var            01/01/70 00:00      
   addition            01/01/70 00:00      
   why not div instruction            01/01/70 00:00      
      Small correction            01/01/70 00:00      
         Thanks            01/01/70 00:00      
   Representing numbers as characters            01/01/70 00:00      
      works            01/01/70 00:00      
         ASCII '0' is 48 or 30H            01/01/70 00:00      
            Or...            01/01/70 00:00      
               problem            01/01/70 00:00      

Back to Subject List