LCDInfo.com

http://www.lcdinfo.com
It is currently Thu Nov 21, 2024 23:12

All times are UTC + 2 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Wed Jun 11, 2003 21:38 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Thanks for the asciicat link.

Implementing this much custom characters in only 200 bytes is kinda hard I believe. One 5x8 character takes 5 bytes if the bytes are rotated and stored in vertical order. So 200 bytes would mean 40 characters. I guess your best bet would be to use the 128 characters in the CG-ROM and then add as much custom characters as can be made to fit.

Are you working on a fixed hardware design ? One way to add more space for fonts would be to use external eeprom chip.

I guess the font data could be compressed using some algorithm but how much of the 200 bytes would that algorithm take then ?

Sorry, I don't have any good ideas at the moment if the situation is that we have a fixed hardware design and we should implement 256 custom characters using only 200 bytes. :(


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2003 21:44 
I got your email, Henri. Thanks again.
:)


Top
  
 
 Post subject:
PostPosted: Wed Jun 11, 2003 21:53 
Offline

Joined: Fri Feb 21, 2003 5:41
Posts: 43
Hi Henri

I not understand your problem!
White my litle english....

You can have 512 Custom Chars when you will (not from the Hardware!)

Paint your own Text.gif File (Show Winamp) and write "Paint" the Char
to the screen of the LCD this is simple.

You can use the Picture1.paintpictur or the API BitBlt

Then you have no more Problem with Chars.

Greetings Emil


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2003 22:10 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Emil, the problem in this particular situation is that the display isn't connected to a computer but to a microcontroller (or something similar, this wasn't defined exactly) where there isn't much free space to use and in this case we have 200 bytes or even less.

We can save one 5x7 font to 5 bytes so 256 characters would take 5*256=1280 bytes that is much more than 200 bytes available.

I hope you understand this now.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2003 22:33 
Offline

Joined: Fri Feb 21, 2003 5:41
Posts: 43
Hi

Quote:
I hope you understand this now


Sorry!

Yes.
Problem with my english

Greetings Emil


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 8 guests


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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group