CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

LCD Scrolling (Can't use controller shift left/right)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

LCD Scrolling (Can't use controller shift left/right)
PostPosted: Mon Oct 20, 2008 4:11 pm     Reply with quote

Hello All,

Using a 20x4 LCD and the shift left/right functions wrap to other lines. That led me to writing my own scrolling code. The problem I'm having is readability of the text as it scrolls. I tried turning off the display as it writes the text to memory, but that doesn't help.

Can anyone provide any insight into my problem?

Thanks,

John
future



Joined: 14 May 2004
Posts: 330

View user's profile Send private message

PostPosted: Tue Oct 21, 2008 8:55 am     Reply with quote

Don't use the Clear screen command, write over the old data.

Choose a scrolling rate that is not too fast.
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Tue Oct 21, 2008 8:24 pm     Reply with quote

I think it's just a factor of the LCD's ability to clear and display a new character. It isn't capable of scrolling quickly and being readable like an LED. I tried the:

Code:
lcd_send_byte(0, 0b00011000); //shift left



and the readability wasn't any better.


I think it will work better to break long messages into 20 character chunks and display them in pieces, as opposed to scrolling. Or maybe parsing to allow scrolling by words instead of characters.

Thanks,

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group