Hi . I don't kown PIC18F2423.But when I use PIC18F2523,I make a mistack beacuse of not read it's datasheet carefully .Maybe you need alos read PIC18F2423 's datasheet .good luck.
Hi . I don't kown PIC18F2423.But when I use PIC18F2523,I make a mistack beacuse of not read it's datasheet carefully .Maybe you need alos read PIC18F2423 's datasheet .good luck.
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