Hi there,
OK I have just downloaded MPLAB XC and have loaded a couple of examples I have found (for this version) and in all cases I get an error on
__delay_us(....);
It says "Unable to resolve identifier".
I built it and it built.
I checked in this project in properties and then compiler to see if Define Macros had:
_XTAL_FREQ=20000000
and it does.
It is probably a global setting I dont know about however I have included both a screen dump and the zip of the program.
Kind Regards
Simon
OK I have just downloaded MPLAB XC and have loaded a couple of examples I have found (for this version) and in all cases I get an error on
__delay_us(....);
It says "Unable to resolve identifier".
I built it and it built.
I checked in this project in properties and then compiler to see if Define Macros had:
_XTAL_FREQ=20000000
and it does.
It is probably a global setting I dont know about however I have included both a screen dump and the zip of the program.
Kind Regards
Simon