Can't get it to light a LED. I'm using MPLAB with CC5X compiler and WinPIC programmer with an RCD programmer. Here's the program: Compiles and programs with WinPic ok.
void main( void) { OSCCON= 0x7C; PORTB = 0x00; TRISB = 0x00; //outputs
while (1) { PORTB=1; } }
Here's the configure word from WinPic: Internal RC osc, WDT Disabled: 11 1111 1111 1000 Using an LED and 330 ohm from pin 7 to gnd. Any help?