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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/10/05 03:37
Read: times


 
#89381 - Writing 8bits binary number to LCD?
Tutorial said we can display text on LCD like this...

MOV A,#'H'
LCALL WRITE_TEXT

WRITE_TEXT:
SETB RS
MOV DATA,A
SETB EN
CLR EN
LCALL WAIT_LCD
RET

But if we've the HOURS, MINUTES, SECONDS variable which contains 8-bits binary value. Writing this exact 8 bits to LCD will show the number(decimal) on LCD or not? Will it automatically convert the 8bit binary to decimal?

Please spare me. At the moment I can't test this with hardware myself and my simulator is still having problem initializing the LCD. I ask this because I'm just curious.

Thank you.

List of 13 messages in thread
TopicAuthorDate
Writing 8bits binary number to LCD?            01/01/70 00:00      
   Re: Writing 8 bits to LCD.            01/01/70 00:00      
   Nope            01/01/70 00:00      
      0-9 = ok. 10+ = problem O_o            01/01/70 00:00      
         Not quite            01/01/70 00:00      
   Re:            01/01/70 00:00      
      News to me !            01/01/70 00:00      
         Re:News to me!            01/01/70 00:00      
            Pascal compilers.            01/01/70 00:00      
            Not Pinnacle            01/01/70 00:00      
      Unlikely            01/01/70 00:00      
         Y'think?            01/01/70 00:00      
            Sad, but true... :-(            01/01/70 00:00      

Back to Subject List