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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/07/02 13:19
Read: times


 
#28790 - RE: Problem in tutorial!
The tutorial states:

CLR EN
SETB EN
MOV DATA,#28h
CLR EN

Where it *SHOULD* be

CLR EN
MOV DATA,#28h
SETB EN
CLR EN

The problem is, according to the tutorial, it's trying to enable a command before the command is present on the port! Actually, I like to put nops between the setb en & clr en, just to be sure it has time to read, but it should work either way.
Hope this helps :)

List of 15 messages in thread
TopicAuthorDate
Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Problem in tutorial!            01/01/70 00:00      
RE: Problem in tutorial!            01/01/70 00:00      
RE: Problem in tutorial!            01/01/70 00:00      
RE: Problem in tutorial!            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit m            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      
RE: Fail to initialise LCD using 4 bit mode            01/01/70 00:00      

Back to Subject List