Subject:
|
Re: LM20X21A
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Sat, 18 Jul 1998 01:40:21 GMT
|
Original-From:
|
David Kott <dakott@alpha.%AntiSpam%delta.edu>
|
Viewed:
|
1303 times
|
| |
| |
On Wed, 15 Jul 1998 adekolaf@is2.dal.ca wrote:
> Hello all:
>
> Does anyone know how to program a character into Sharp Dot Matrix
> LCD LM20X21A ? I want to add the greek character, miu ( the one that
> looks like italized 'u') I will be very grateful if anyone can help
> me out this.
>
> Cheer!
>
> Felix Adekola
>
>
Erm... I am just guessing here, but, I don't think it would be
unreasonable to suspect that this particular LCD uses the Hitachi LCD
chipset that just about every LCD manufacturer utilizes.. and every LCD
chip fab'r emulates. HM44780 is it? I'm not sure. However, if it does
indeed utilize this chipset, one merely presents a particular 8 bit code
to the instruction register and then for each particular CGRAM address
you present the 8 bit raster character image line for the character.
You would encode the image thusly:
76543210 (bit locations in the aforementioned 5 bytes)
1 ........
2 .1....1.
3 .1....1.
4 .11111..
5 1.......
where the .'s I have depicted are zeros, and the 1's are.. *shock* ones.
So, the following bytes would form (something) like the character I think
you want:
{ 0x00,0x42,0x42,0x7C,0x80 }
I am not sure about the bit order, or the command to initiate the
character ram transfer...... or even where said character ram resides..
but.. that's the (extremely) general way to approach custom characters
with the (alleged) HM44780 chipset.
-d
The box said "Requires Windows 95/NT or better"...
So I got Unix.
Free the Source. Free your Computer... http://www.FreeBSD.org
http://www.NetBSD.org
http://www.OpenBSD.org
|
|
Message is in Reply To:
| | LM20X21A
|
| Hello all: Does anyone know how to program a character into Sharp Dot Matrix LCD LM20X21A ? I want to add the greek character, miu ( the one that looks like italized 'u') I will be very grateful if anyone can help me out this. Cheer! Felix Adekola (26 years ago, 15-Jul-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|