LCDInfo.com
http://forum.lcdinfo.com/

Pixel positioning for Text?
http://forum.lcdinfo.com/viewtopic.php?f=17&t=1059
Page 1 of 1

Author:  zeus[x] [ Tue Feb 15, 2005 22:13 ]
Post subject:  Pixel positioning for Text?

Is possible to select a pixel to start writing the text?
On 3310 LCD there is only 4 lines, to write a text on first line is x=0, y=0 but imagine i make a border on screen and i wanna write the text "2 pixeis lines" down. is is possible?

Thks

Author:  Syridian [ Tue Feb 15, 2005 23:32 ]
Post subject:  LCD Design 101

No, thats not possible in the current version of LCDinfo.

Most of the LCDs we use have 2 modes, which can work together, a Graphical mode, and a Text mode. The graphical mode allows pixel manipulation, whilst the text mode is divided up into lines and characters which have fixed positions.

There is a reason this was probably done this way, and I'm guessing it would have something to do with increasing usability. Smaller CPUs or slower interfaces that aren't capable of being able to update the screen at decent refreash cycles in the graphical mode, can still easily update the important ASCII data quickly and easily. It allows systems designed like this to slowly upload the graphical background to the LCD, and once that is done, then change the text quickly.

If you want to see this functionality in practice, remove the background image from the second screen in your sequence, and see what you get. :)

Hmmm... Thats enough from the know-it-all for now. ;)

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/