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

need help with a tricky lcd mode

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



Joined: 23 Mar 2004
Posts: 2

View user's profile Send private message Send e-mail

need help with a tricky lcd mode
PostPosted: Fri Mar 26, 2004 1:21 am     Reply with quote

hello ladies and gents

i was just wondering if anyone has tried this or had the code for a special function for an lcd. I want the be able to have "highlighted" words/characters on an lcd. im trying to use it for a menu function where the user can scroll up or down on the lcd and the selected menu item would be "highlighted" by this i mean that on a regular lcd the character is defined by bits that are lighted up, but i want the whole line/word to be lighted up and only the bits that define the charater would be off.
any info or help is appreciated jon
SteveS



Joined: 27 Oct 2003
Posts: 126

View user's profile Send private message

led highlight
PostPosted: Fri Mar 26, 2004 7:27 am     Reply with quote

Don't know of any LCDs that allow this inherently. I used to use the underline cursor to do what you want. Not quite as effective I know.

A possibility would be to use the 8 programmable charcters - this would allow you to have 8 different characters at a time in reverse. Perhaps you coudl highlight just the first character - or keep the menu item names short.

- SteveS
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Fri Mar 26, 2004 8:06 am     Reply with quote

It depends on the lcd controller. Some controllers have character generators that have the option of inverting the bit display of the character and even anding and oring it with a graphical background. If your particular lcd controller can't do it.... then as Steve says you'll have to roll your own via custom characters.
SteveS



Joined: 27 Oct 2003
Posts: 126

View user's profile Send private message

PostPosted: Fri Mar 26, 2004 9:04 am     Reply with quote

Thanks for updating me Douglas. I haven't done much LCd stuff in the recent years - figures they are more whiz-bang now.

In the end, honza, you'll need to discover what controller is in the LCD you are using, then find a data sheet, then try to decipher it. Some are really good and clear, some others ....... But, if you post the LCD type or controller maybe someone knows it.

- SteveS
karth



Joined: 10 Sep 2003
Posts: 29

View user's profile Send private message

hey what type of LCD???
PostPosted: Sun Mar 28, 2004 6:18 pm     Reply with quote

I have done similar at ease, i was using the AZ Display, What type of LCD are you using??? Refer to the chipset specification instead of the LCD specification.
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