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

Back to Subject List

Nusret Yilmaz
05/17/19 02:27
Read: 61 times
Izmir
Turkey


 
#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      Nusret Yilmaz      05/17/19 02:27      
   does not work>      Erik Malund      05/17/19 10:49      
      The subroutine doesn't work      Nusret Yilmaz      05/18/19 06:33      
         who cares      Erik Malund      05/18/19 07:41      

Back to Subject List