Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] MPLAB X errors massage for delay functions

Status
Not open for further replies.

prasad70

Member level 3
Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Visit site
Activity points
1,690
Hi,


#define _XTAL_FREQ 4000000

I am using above clock speed but when I write "__delay_ms(100) ; in the main program, it always shows "Unable to resolve identifier" but no compiling errors appearing. I am using HITEC C for PIC16F882 micro cocntroller.
Can some one explain the reason for it.

thks
 

"Unable to resolve identifier" is a known issue with the IDE not the compiler.

what version are you using ?

- - - Updated - - -

It is a known limitation for MPLAB X (all 8 bit compilers and HI-TECH compilers have this limitation). Beta 5 will be better at handling the C18 compiler syntax.
 

Its a problem of MPLAB XC16 Compiler v1.20, I guess they might have made the corrections ,
I haven't worked on the newer version yet !
Post the same on Microchip Forum so that admins can help you out !
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top