User`s manual

User’s Manual
C.3 Keypad Labeling................................................................................................................................86
C.4 Header Pinouts ...................................................................................................................................87
C.4.1 I/O Address Assignments...........................................................................................................87
C.5 Mounting LCD/Keypad Module on the Prototyping Board ..............................................................88
C.6 Bezel-Mount Installation....................................................................................................................89
C.6.1 Connect the LCD/Keypad Module to Your Prototyping Board.................................................91
C.7 LCD/Keypad Module Function Calls ................................................................................................92
C.7.1 LCD/Keypad Module Initialization............................................................................................92
C.7.2 LEDs...........................................................................................................................................92
C.7.3 LCD Display...............................................................................................................................93
C.7.4 Keypad......................................................................................................................................108
C.8 Sample Programs .............................................................................................................................111
Appendix D. Power Supply 113
D.1 Power Supplies.................................................................................................................................113
D.1.1 Battery Backup.........................................................................................................................113
D.1.2 Battery-Backup Circuit ............................................................................................................114
D.1.3 Reset Generator........................................................................................................................115
D.2 Optional +5 V Output ......................................................................................................................115
Appendix E. Motor Control Option 117
E.1 Overview ..........................................................................................................................................117
E.2 Header J6..........................................................................................................................................118
E.3 Using Parallel Port F ........................................................................................................................119
E.3.1 Parallel Port F Registers ...........................................................................................................119
E.4 PWM Outputs...................................................................................................................................122
E.5 PWM Registers.................................................................................................................................123
E.6 Quadrature Decoder .........................................................................................................................124
Index 127
Schematics 131