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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/24/05 14:06
Read: times


 
#102828 - Shifting the cursor
Responding to: ???'s previous message
On the assumption that your LCD is controlled by the HD44780 or equivalent and you do not want to overwrite existing data with the cursor move. Obtain the current DDRAM address by doing a busy flag check. The HD44780 returns the address in the first six bits (7th is busy bit). Add your desired offset to this address and send it back to the LCD as a DDRAM Address Set Command by setting RS and R/W to 0 and bit 7 to 1 with the new address in bits 0-6.

Hal

List of 15 messages in thread
TopicAuthorDate
LCD proggramming            01/01/70 00:00      
   WHAT LCD module????            01/01/70 00:00      
   Shifting the cursor            01/01/70 00:00      
   use 0X10 as command to LCD            01/01/70 00:00      
      That is crazy            01/01/70 00:00      
   List            01/01/70 00:00      
      that is also crazy            01/01/70 00:00      
         on the assumption            01/01/70 00:00      
            then state "On the assumption"            01/01/70 00:00      
               example            01/01/70 00:00      
            Why just India?            01/01/70 00:00      
   lcd programming            01/01/70 00:00      
   Tutorials?            01/01/70 00:00      
   programming 8051 to LCD            01/01/70 00:00      
      see above            01/01/70 00:00      

Back to Subject List