Oh god..... (smacks-face)
I cleaned up the WPU, I think I had one on ADC.
I just tried again with the batteries and it went down to ADC=0.Code:WPUA = %11111010 ' Pin A2 = Vref- ' Pin A0 = ADC (B5K) WPUB = %11111111 WPUC = %00111111 ' Pin C7 = RX ' Pin C6 = TX ANSELA = %00000101 ' Pin A2 = Vref- ' Pin A0 = ADC (B5K) ANSELB = %00000000 ANSELC = %00000000
Arrrgggghhhhh.......
Bookmarks