piclist 2001\01\07\015335a >
Thread: Frustration with TRISB
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : Roman Black email (remove spam text)



I try and avoid switching pins between input
and output whenever I can. What I do prefer
is to matrix a bank of inputs and outputs,
so with 4 input pins and 7 output pins you
can run a 7 seg display and 28 pushbuttons.
Like most matrixing only one pushbutton can
be sensed at one time. However by adding
28 diodes you can have 28 switches which
can all be read at once, for dip switches
etc.

I have one product that has 16 dipswitches,
a 7 seg display, and a couple of input/outputs
all running off a 16F84 with no other chips.
And it doesn't switch pin states between
in/out. :o)
-Roman



Peter L. wrote:

{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


<3A5811C5.5A73@ezy.net.au> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
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) Frustration with TRISB

month overview.

new search...