piclist 2002\08\25\122558a >
Thread: keypad
www.piclist.com/techref/index.htm?key=keypad
flavicon
face BY : Pic Dude email (remove spam text)



Why do you say that it should be "0"?  In general though,
you should not leave the inputs floating, cause the value
seen at the port will be unpredictable, though I've found
that it tends to assume the "1" state most of the time.

You should explicitly set it to the default you want with
pull-up or -down resistors (you can use the PIC built-in
weak pull-ups).  Generally I keep the weak pull-ups on and
switch to ground, so the processor sees "1" until the switch
is pressed.

Cheers,
-Neil.



> {Original Message removed}
<BJEDIBGCHKOMPGADEIGGOEDNDDAA.picdude@pilottools.com> 7bit

In reply to: <015f01c24c67$56ba7d40$6e7be7ce@cp2>
See also: www.piclist.com/techref/index.htm?key=keypad
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) keypad

month overview.

new search...