Take a look at this example
http://www.rentron.com/PICX2.htm
Or use the ADCIN command built into PBP, looks like you are mixing both ways.
Take a look at this example
http://www.rentron.com/PICX2.htm
Or use the ADCIN command built into PBP, looks like you are mixing both ways.
Dave
Always wear safety glasses while programming.
Change ADCON2 to use more Acquisition time,
Wait after switching the ADC on (ADCON0) 1
delete this ADC-defines !
maybe ... ad a 1nF C to AN1 against ground
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Bookmarks