I have a 16f88 and want to use A6 and A7 as inputs. I 'm setting up to use the internal osc using
#fuses intrc_io
but the lines
Button=input(PIN_A6);
if(button==0)
LSkipper-=10;
don't work (LSpipper never changes). A6 and A7 are both pulled high with a 10K and a switch pulls them low. The Pic never sees the switch closeure . A couple more switches on different pins work fine. Is there a setup that I'm missing somewhere?
Thanks
Ringo _________________ Ringo Davis
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Sep 30, 2005 1:33 am
Post a complete (but short) test program and post your version of the
compiler.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum