Quote Originally Posted by mister_e View Post
There's something obvious that just jump to my face. You're using the default LCD assignment, and this use a.0, a.1... which is also your adc channels.

so unless you forgot something in your copy/paste, or i totally misunderstood something

EDIT: one more... Assuming you're using the internal OSC, you want to configure it properly... unless the whole beast will run @32KHz

OSCCON = %01100000 ' 4MHz

Don't forget to check your maths range... sure it will overflow the max 100 soon.
I use external xtal 4mhz and the below LCD assignment

Code:
    DEFINE LCD_DREG PORTB		   
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTB		   
    DEFINE LCD_RSBIT 2
    DEFINE LCD_EREG PORTB		 
    DEFINE LCD_EBIT 3
    DEFINE LCD_BITS 4		      
    DEFINE LCD_LINES 2