piclist 1999\09\26\132349a >
Thread: getting low off floating imput
picon face BY : Mike Keitz email (remove spam text)

On Sun, 26 Sep 1999 02:58:38 -0600 Rene Chauvet <spamBeGonerchauvetspamspamspam_OUTHOME.COM>
>all I did was first set the pin
> low then turned the tristate control to output..Anyway I was
> wondering if there is a better way that would increase the
> reliability of reading a low.

Use a pull-down resistor of course.  If you don't do that you should set
the pin to output a low for several instructions, then set it back to
input and read the read the pin immediately, so it doesn't have time to
drift back toward a high level. You may not read high properly then
though.  Connecting a capacitor from the pin to ground would make it
float around more slowly.  But if you use an external component it should
be a pull-down resistor.

Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: dl.http://www.juno.com/dynoget/tagj.

<19990926.131815.-453355.1.mkeitz@juno.com> 7bit

See also: www.piclist.com/techref/index.htm?key=getting+low+off
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) getting low off floating imput

month overview.

new search...