Customised Keypads are a good candidate for construction with an EXTERN component. This Keypad is a simple 4 row x 4 column keypad but can easily be expanded for other keypad configurations. The sample PIC Decoder scans the KEYPAD and outputs the currently depressed key on the DIGITAL8 component.
| Filename | Version | Description |
| keypad.pjt | MPLAB Project of sample keypad decoder driver | |
| keypad.asm | PIC16F877 Assembler code of sample sample keypad decoder driver for the CustomKeypad component | |
| keypad.bmp | The bitmap used as the icon for the CustomKeypad in a Virtual Breadboard. | |
| keypad.lst | Compiled LST of CustomKeypad sample driver | |
| keypad.HEX | Compiled HEX of CustomKeypad sample driver | |
| CustomKeypad.vbp | Visual Basic Project for building the CustomKeypad external component | |
| CustomKeypad.exe | CustomKeypad executable external component | |
| frmCustomKeypad.frm | The main Visual Basic form of the CustomKeypad Visual Basic Project. | |
| frmCustomKeypad.frx | The main Visual Basic form binary image property bag | |
| tut5.vbb | Virtual Breadboard example using the CustomKeypad component and the keypad sample driver |
Start Virtual Breadboard and open the <your path>\Tutorial 5\tut5.vbb file from Virtual Breadboard and click RUN
Code Walkthrough
|
PinsAreOpenCircuit | |
|
PinsAreLinked | |
|
ComponentIsAsynchronousActive | |
|
setIconImage |
Project Idea's