Check page 22 from Philips PCD8544 datasheet. It shows how characters are formed to LCD. If you are using 8x6 pixel fonts then you have to do 6 write operations (each of 6 column separately). This can be combined to one loop, so it writes one character or graphics at the same time. Yes, You have to loop through every letter.(1) How do you recommend writing entire words "Hello World...". Do we really have to loop through every letter? Would be nice to issue a Lcd_Send_This("Hello World")
LOOKUP table or CASE are good options, even IF - THEN can be used. I have tried all of them, now using LOOKUP2. If you don't need all alphabets then some limited table or direct data to LCD can be an option. With direct data I mean that you make characters like a graphics, turning on/off DB7:0 data bits.(2) Do you use a large LOOKUP table or CASE for A-Z ??
Right now I have a LOOKDOWN table for A-Z that gets the position and then uses that num*6 to LOOKUP the bits in my huge table (no eeprom here).
(thoughts) Looking ahead I worry about not being able to use a VAR in LOOKUP. In the end, isn't that what I really want to display?
Thanks again.
In case you need A-Z and a-z then LOOKUP or CASE needs twice more space. Then external EEPROM becomes very handy.
BR,
-Gusse-
Bookmarks