90 Smartcat (BL2100)
C.7 Sample Programs
The following sample programs are found in the SAMPLES\LCD_Keypad\122x32_1x7
folder.
• ALPHANUM.C—Demonstrates how to create messages using the keypad and then dis-
playing them on the LCD display.
• COFTERMA.C—Demonstrates cofunctions, the cofunction serial library, and using a
serial ANSI terminal such as Hyperterminal from an available COM port connection.
• DISPPONG.C—Demonstrates output to LCD display.
• DKADEMO1.C—Demonstrates some of the LCD/keypad module font and bitmap
manipulation features with horizontal and vertical scrolling, and using the
GRAPHIC.LIB library.
• FUN.C—Demonstrates drawing primitive features (lines, circles, polygons) using the
GRAPHIC.LIB library
• KEYBASIC.C—Demonstrates the following keypad functions in the STDIO display
window:
- default ASCII keypad return values.
- custom ASCII keypad return values.
- keypad repeat functionality.
• KEYMENU.C—Demonstrates how to implement a menu system using a highlight bar on a
graphic LCD display. The menu options for this sample are as follows.
1. Set Date/Time
2. Display Date/Time
3. Turn Backlight OFF
4. Turn Backlight ON
5. Toggle LEDs
6. Increment LEDs
7. Disable LEDs
• LED.C—Demonstrates how to toggle the LEDs on the LCD/keypad module.
• SCROLLING.C—Demonstrates scrolling features of the GRAPHIC.LIB library.
• TEXT.C—Demonstrates the text functions in the GRAPHIC.LIB library. Here is a list
of what is demonstrated.
1. Font initialization.
2. Text window initialization.
3. Text window, end-of-line wraparound, end-of-text window clipping, line feed, and carriage return.
4. Creating 2 different TEXT windows for display.
5. Displaying different FONT sizes.