I realized something was seriously wrong when that nothing circuit was taking 670mA. I added:
Before the ANSELx and TRISx and it's taking 20mA now, 33c with no ADC, just ADCinput set at 1023 and the HSEROUT loop.Code:PORTA = %00000000 PORTB = %00000000 PORTC = %00000000
Bookmarks