View previous topic :: View next topic |
Author |
Message |
sjharris
Joined: 11 May 2006 Posts: 78
|
LCD Invert, one line NOT whole screen |
Posted: Mon Jun 15, 2009 8:32 am |
|
|
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
|
|
Posted: Mon Jun 15, 2009 10:31 am |
|
|
how do you invert the screen, is it posible with 20X2 LCD? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jun 15, 2009 1:42 pm |
|
|
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
|
|
Posted: Thu Jun 18, 2009 4:43 am |
|
|
OK Thanks,
I have used the CGRAM to create custom inverted characters!!
Thanks for info.
SH |
|
|
|