Table of Contents
v
OP7100
Dynamic C 32 Libraries ....................................................................... 56
OP71HW.LIB .................................................................................. 56
Keypad Programming ..................................................................... 65
Using Dynamic C v. 5.xx ..................................................................... 66
EZIOOP71.LIB ............................................................................... 66
GLCD.LIB ...................................................................................... 66
KP_OP71.LIB ................................................................................. 70
SYS.LIB .......................................................................................... 72
Upgrading Dynamic C ......................................................................... 73
New LCD Controller Chip .............................................................. 73
Chapter 5: Graphics Programming
75
Initialization ......................................................................................... 76
Drawing Primitives .............................................................................. 76
Plot a Pixel ...................................................................................... 76
Plot a Line ....................................................................................... 77
Plot a Circle .................................................................................... 77
Plot a Polygon ................................................................................. 77
Fill a Circle ..................................................................................... 77
Fill a Polygon .................................................................................. 77
Draw a Bitmap ................................................................................ 77
Font and Bitmap Conversion ............................................................... 78
Using the Font/Bitmap In Your Program ........................................ 79
Printing Text ......................................................................................... 80
Keypad Programming .......................................................................... 81
Initialization .................................................................................... 81
Scanning the Keypad ....................................................................... 81
Reading Keypad Activities .............................................................. 81
Chapter 6: Installation
83
Grounding ............................................................................................ 84
Installation Guidelines ......................................................................... 85
Mounting .............................................................................................. 86
Bezel-Mount Installation ................................................................. 86
General Mounting Recommendations ............................................. 87
Appendix A: Troubleshooting
89
Out of the Box ...................................................................................... 90
Dynamic C Will Not Start .................................................................... 91
Dynamic C Loses Serial Link .............................................................. 91
OP7100 Repeatedly Resets .................................................................. 91
Common Programming Errors ............................................................. 92