[QUOTE=mackrackit;108426]In your PBP 3.0 directory open the directory "DEVICE_REFERENCE" and find the PIC18F26K22.INFO file, open with notepad.
...
Many Thanks mackrackit, First problem solved
Now 2° Problem input/output/adc settings
My code :
TRISA = %00101111 ' Set PORTA to all input
TRISB = %00000011 ' Set PORTB to all input + 6 output
TRISC = %11110000 ' Set PORTC to all input + 4 output
ANSELA= %11101111
ANSELB= %00000011
ADCON1 = %10001000
ADCON2 = %10000000 ' ...and right justify result
ADCON0 = %10001001
It seems ok, But..
ADCIN report always 0..
Any Idea?
Steve
Bookmarks