WTA MPLAB compiler problem

Status
Not open for further replies.

alpha91

Full Member level 3
Joined
Sep 23, 2011
Messages
168
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Visit site
Activity points
2,625
Hi, i am new to PIC microcontroller programming.
i just installed the MPLAB, when i testing with the code online which i think is error free, it failed to build. it comes out the message below:


the PIC i am using is 16f877a and the code is below:
#include <htc.h>
#define _XTAL_FREQ 8000000
void main()
{
TRISB=0X00;
PORTB=0X00;
while(1)
{
PORTB=0XFF;
_delay_ms(100);
PORTB=0X00;
_delay_ms(100);
}
}

can i know what's the problem? and also i am using HiTech Universal Toolsuite, if i want to write the program in assembly language, is it ok with this toolsuite ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…