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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/17/19 08:27
Read: times


 
#190945 - The subroutine doesn't work
Hi all !

I realized and tested with Isis that, the given subrotine, called " WAIT_LCD" in the " Introduction to LCD Programmming" article, doesn't work.

The working subroutine should be like this :


WAIT_LCD:

SETB RW ;It's a read command
SETB EN
MOV P3,#0FFh ;Set all pins to FF initially
MOV A,P3 ;Read the return value
CLR EN
JB ACC.7,WAIT_LCD ;If bit 7 high, LCD still busy
CLR RW ;Turn off RW for future commands
RET

Best Regards!!




List of 4 messages in thread
TopicAuthorDate
The subroutine doesn't work            01/01/70 00:00      
   does not work>            01/01/70 00:00      
      The subroutine doesn't work            01/01/70 00:00      
         who cares            01/01/70 00:00      

Back to Subject List