Key SET PORT B TO READ PORT B AS RB3 RB2 RB1 RB0 | RB3 RB2 RB1 RB0 SW1 HiZ HiZ HiZ 0 | 0 0 1 X SW2 HiZ HiZ HiZ 0 | 0 1 0 X SW3 HiZ HiZ HiZ 0 | 0 1 1 X SW4 HiZ HiZ HiZ 0 | 1 0 0 X SW5 HiZ HiZ 0 HiZ | 0 0 X 1 SW6 HiZ HiZ 0 HiZ | 0 1 X 1 SW7 HiZ HiZ 0 HiZ | 0 1 X 0 SW8 HiZ HiZ 0 HiZ | 1 0 X 1 SW9 HiZ 0 HiZ HiZ | 0 X 1 1 SW10 HiZ 0 HiZ HiZ | 0 X 0 1 SW11 HiZ 0 HiZ HiZ | 0 X 1 0 SW12 HiZ 0 HiZ HiZ | 1 X 0 1 SW13 0 HiZ HiZ HiZ | X 0 1 1 SW14 0 HiZ HiZ HiZ | X 1 0 1 SW15 0 HiZ HiZ HiZ | X 1 1 0 SW16 0 HiZ HiZ HiZ | X 0 0 1
See also:
http://www.mikerj.clara.net/keypad.html
Questions:
| file: /Techref/microchip/4x4key4io8diode.htm, 1KB, , updated: 2007/12/3 17:49, local time: 2012/2/10 08:01,
38.107.179.233:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/microchip/4x4key4io8diode.htm"> PIC Microcontroller, Microchip PIC, 4x4 Keyboard, Keyswitch</A> |
| Did you find what you needed? |
| piclist.com members can LOGIN to post questions, add public or private comments, links or even new pages(!). To start, fill out the form. |
|
The only consistant, simple to use yet powerful development environment. It simulates real-world devices via virtual component "plugins" (LED,LCD,key,motor,TV,etc) in real time, has a syntax highlighting editor, macro assembler and disassembler. Regular updates and third-party plugins keep this software ahead of any other PIC IDE. |
.