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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/21/06 01:33
Read: times


 
#118669 - function set x4
Responding to: ???'s previous message
What display are you using?

I had this same problem with a crystalfontz CFAH2004K 4x20 character display. You need to repeat the function set command four (4) times.

;call this 4 times total,
mov P0, #38h ; Function Set.
mov R2, #150 ; Time for delay
acall habilita ; Call for enable and delay subrutine

Seems funny, but it's what my datasheet (tries) to say.

List of 6 messages in thread
TopicAuthorDate
LCD does works but not display            01/01/70 00:00      
   function set x4            01/01/70 00:00      
   LCD fun            01/01/70 00:00      
      an LCD            01/01/70 00:00      
   Delay            01/01/70 00:00      
   SOLUTION            01/01/70 00:00      

Back to Subject List