Pablo Bleyer Kocik wrote: > joystick's stick of each axis (0 Kohms when up, 50 K when middle, 100 > K when down). I need to convert these positions to two bits (10 when > the stick is up, 01 when the stick is down, and 00 (or 11) when the > stick is in it's natural position). Any ideas for a _simple_ circuit > doing this? > +--+ > +5V O--\/\/\---> | |-> bit0 > R | |-> bit1 > +--+ |\ In O--------+----| o----O ">70k" | |/ > Inverters are 74HC04 > 22k *NOT* 74HCT04, *NOT* 74HC14 | |\ +----| o----O ">25k" | |/ > > 47k | ~~~ Gnd -- Cheers, Paul B.