I am new to microchip family. i had tried out the below program,
#include<pic.h> 
#include <stdio.h>
__CONFIG(0x1932);
void main() 
{ 
TRISA=0x00;
 PORTA=0x01; 
PORTA=0x02; 
PORTA=0x04; 
PORTA=0x08; 
PORTA=0x10;
 PORTA=0x20; 
PORTA=0x40; 
}    
But i get the error:
Error [237] C:\Users\mathishara\Desktop\project_mplab\alternative.c; 9. function "_main" redefined.
What should I do.
 
     
     
     
    