Data Sheet
3/8/2018 Graphic LCD Phidget - LCD1100_0 at Phidgets
https://www.phidgets.com/?tier=3&catid=64&pcid=57&prodid=963 4/5
0,0,1,0,0,
0,0,0,0,0,
0,0,0,0,0];
gLCD.SetFontSize(LCDFont.User2, 5, 8);
gLCD.SetCharacterBitmap(LCDFont.User2,"\x6",heart);
Once stored, characters can be recalled into a text string by using the unicode value for the location (in this example, "\x6"). For
example, in C#:
gLCD.WriteText(LCDFont.Dimensions_5x8, 0, 0,"I \x6 Phidgets!");
Custom characters on the LCD1100 are stored as images on the frame buffer for their font.FONT_User1 is stored on frame buffer 1
and FONT_User2 is on frame buffer 2.
These characters occupy the same space as drawings on their framebuffer, and will be displayed onscreen if their framebuffer is
flushed. They can also be overwritten by using drawing funcitons on their framebuffer, so it is recommended to only use a given
framebuffer either for drawing or storing fonts, but not both.
We recommend using FONT_User2 (frame buffer 2) to store custom fonts, as it can be saved for later use.
In order to use the custom fonts, you must first define their size with setFontSize(). Once the font size is set, custom characters
will be placed on the font's frame buffer at a location corresponding to the character number provided.
Characters for each font are stored in rows ordered left-to-right, top-to-bottom. Rows are filled with as many characters as will
completely fit across the width of the screen. There are as many rows as will fit on the screen vertically.
On a screen 128 pixels wide by 64 pixels high, if your font is 10 pixels wide by 20 high, you will have 3 rows of 12 characters. This
allows for a maximum of 36 characters of that size.
A demonstration of how many 10x20px characters can fit on the screen.
To quickly determine how many characters can be in your custom font, you can callgetMaxCharacters() in your code.
Custom character indexing starts with character 0x01 and can be any character between 0x01 and the maximum number of
characters that fit on screen.
To determine if an ascii character can be used in a given custom font, you can look at its corresponding ascii value on an ascii
table to determine if it is within the limit determined above.
What to do Next
Software Overview - Find your preferred programming language here to learn how to write your own code with Phidgets!
General Phidget Programming - Read this general guide to the various aspects of programming with Phidgets. Learn how
to log data into a spreadsheet, use Phidgets over the network, and much more.