DEFINE ADC_BITS 8
DEFINE ADC_CLOCK 2
DEFINE ADC_SAMPLEUS 100

PORTA = 5
TRISA = $85
PORTB = 6
TRISB = $86

POKE TRISA, %11111111
POKE TRISB, %00000000

W0 var byte

ADCON1 = 2 'This line is not working !!!!!!!!!
ADCIN 0, W0 'This line is not working, too

Martin