Hello Unregistered ,
Originally Posted by savnik Where i am wrong with ADCONX Because you've got digital signals going into a port configured for analog input...
Originally Posted by skimask Because you've got digital signals going into a port configured for analog input... with 16f876a i use ra0-ra1-ra2-ra5 as analog and ra3-ra4 as digital , and with those configurations work very well.But with 16f877a not.
http://www.lesvoselectronic.com http://www.lesvoselectronics.com
Originally Posted by savnik with 16f876a i use ra0-ra1-ra2-ra5 as analog and ra3-ra4 as digital , and with those configurations work very well.But with 16f877a not. Well, you didn't tell us that now did you?
Refer to ADCON1 register table http://ww1.microchip.com/downloads/e...Doc/39582b.pdf page 130 The way you have it right now, all AN inputs are analog.
Steve It's not a bug, it's a random feature. There's no problem, only learning opportunities.
Forum Rules
Bookmarks