'getting low off floating imput'
part 0 16 bytes
On Sun, 26 Sep 1999 02:58:38 -0600 Rene Chauvet <HOME.COM> rchauvet
>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.
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...