Hi all. I am very new at PIC's so please be patience. I have bought pic18f2455 and pic18f2550 and pic6F877A. I have K150 and it's program to write the program to pic. The thing is I don't know which program I need to use to write program in C!!! And than I need a compiler to convert the program from C to HEX ; am I right?
I have already downloaded the MPLAB X IDE v1.80 but I have getting problems when I want to build the C.
Example:
#include <htc.h>
#include <pic.h>
#include <delay.c>
main()
{
TRISB=0; // declare portb as outpot
for(;
// do forever
{
RB0=1; // LED ON
DelayMs(250); // delay for 0.25 seconds
RB0=0; // LED OFF
DelayMs(250);
}
}
Please HELP!!!!