Xc.h Library: Download ((top))

void main(void) TRISB = 0x00; // Set PORTB as output while(1) PORTB = 0xFF; // Turn on LEDs

Visit the MPLAB XC Compilers page on the Microchip website. xc.h library download

You do not download the file manually. You must install the Microchip development tools. void main(void) TRISB = 0x00; // Set PORTB