At 06:11 PM 6/2/2003 -0400, Olin wrote: > >>> How is ADCON1 set ? > >> > >> Haven't touched it, so it is whatever the default setting might be. > > >Ah, that's the problem. The A/D pins wake up as analog inputs. You need >to explicitly set them to digital I/O if you want to use them that way. That were indeed the problem, and it works fine now. You are hereby forgiven for your crass, money-grubbing ways. :-) > >Take a look at my development environment at http://www.embedinc.com/pic. >If you had used it and therefore declared all your I/O pins with the >/INBIT and /OUTBIT preprocessor directives, the standard PORT module would >have initialized them the way you wanted automatically. I'm gonna! I'm gonna! It is hard to remember that your original objective was to drain the swamp, when you are up to your ass in alligators! :-) So much to learn.....so little time remaining before I shuffle off this mortal coil. John -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics