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 CCS Technical Support

LCD Invert, one line NOT whole screen

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



Joined: 11 May 2006
Posts: 78

View user's profile Send private message

LCD Invert, one line NOT whole screen
PostPosted: Mon Jun 15, 2009 8:32 am     Reply with quote

Hello all,

I am using an EA DIP204 4x20 LCD screen.
Screen:- http://www.lcd-module.de/eng/pdf/doma/dip204-4e.pdf
Controller:-http://www.lcd-module.de/eng/pdf/zubehoer/ks0073.pdf
I have successfully set up the screen, with a lot of help from people here, and I am using the four line display mode.

I am using a 16F877 to control the LCD.
I have been able to invert the whole screen but have yet been unable to just invert one line of the screen. Is this possible or just comething that is not possible with this screen?

Any help would be much appreciated.

Thanks
SH
soulraven



Joined: 08 Feb 2009
Posts: 72
Location: campulung muscel

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

PostPosted: Mon Jun 15, 2009 10:31 am     Reply with quote

how do you invert the screen, is it posible with 20X2 LCD?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jun 15, 2009 1:42 pm     Reply with quote

It depends on the LCD controller chip. Look near the bottom of page 27
in the KS0073 data sheet. It shows the "REV" bit. This bit is not in the
normal HD44780u controller. It's an extra feature of the KS0073.
http://www.lcd-module.de/eng/pdf/zubehoer/ks0073.pdf

To invert individual characters, you would need a controller with
character attribute RAM, similar to the IBM PC 80x25 mono and
color text modes (VGA modes 7 and mode 3, etc.). I don't know
of a character LCD that has such a feature.
sjharris



Joined: 11 May 2006
Posts: 78

View user's profile Send private message

PostPosted: Thu Jun 18, 2009 4:43 am     Reply with quote

OK Thanks,

I have used the CGRAM to create custom inverted characters!!

Thanks for info.
SH
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