
Originally Posted by
MOUNTAIN747
Question; using PBP should I set ADCON1= %00000111
ADCON1 =6 or 7 ok
TRISA=%11111111. There is a note in the mid range manual that says I may have a high current on pins on PortA as I read the value of the port. Do I have a problem using PortA as digital input?
NO, as set all port a inputs.
TRISB=%00000000
TRISC=%11110000
Will PBP handle my concerns?
Comments will be appreciated.
Ok, all port b outputs upper half of PortC as inputs,
set ADCON0=0 , CMCON=7 , and remember RA4 is open drain and requires a pullup resistor.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks