Pages: [1]   Go Down
Author Topic: Writing signs on a 4 bit Hitachi LCD  (Read 556 times)
0 Members and 1 Guest are viewing this topic.
Sweden, Malmö
Offline Offline
Full Member
***
Karma: 2
Posts: 200
Rooky
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Another day, another question.

What code can be used to print signs that are not allready specified for the hitachi lcd.
I know as much as this for the sign i want to print:

In decimal:  16,16,16,16,16,16,16
In hex:  0x10,0x10,0x10,0x10,0x10,0x10,0x10
In binary:  %10000,%10000,%10000,%10000,%10000,%10000,%10000

Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a command in the control chip to set the character generator ram which is then followed by however many writes you need to program your characters.

A read of the datasheet should give you enough information to do it, look for the section on CGRAM.
Logged

Sweden, Malmö
Offline Offline
Full Member
***
Karma: 2
Posts: 200
Rooky
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you are correct, found information on it.
Thanks, seems by the way to be to comlicated for my rooky skills.
But i will give it a true in the future when my knowledge is greater...
Logged

New Zealand
Offline Offline
God Member
*****
Karma: 0
Posts: 999
Arduino pebbles
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This might be helpful if it's compatible: Online editor for HD44780 LCD User-Defined Graphics

--Phil.
Logged

Sweden, Malmö
Offline Offline
Full Member
***
Karma: 2
Posts: 200
Rooky
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Phil,

Yes that is a good site, that is actually the one i used to find out the listed information in my first post.
The knowledge i lack is how to write a code or what command to use to get it displayed on the LCD.

Thanks,
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This page may help a bit: http://www.geocities.com/dinceraydin/lcd/custom.htm.

Logged

Pages: [1]   Go Up
Jump to: