18 Aug 2004 ericzayers   » (Journeyer)

And the answer is that the tri-state register bit for AN0 was not set to 1 (high impedence). Things work much better now. I ended up with a 10K resistor between ground and my IR sensors. I lowered the current through my IR LEDs significantly with a higher value resistor and it still works fine, so I soldered it all back together and I'm detecting lines now.

If nothing else, at least I now have lots of useful test points on my board.

Latest blog entries     Older blog entries

Share this page