PR11 - undefined identifier "ADGO"

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

PR11 - undefined identifier "ADGO"

Postby padlie » Fri Jun 03, 2011 12:17 pm

Hi,

I get this error: Error [192] C:\Documents and Settings\f\Desktop\Source Code\PR11.c; 301.1 undefined identifier "ADGO"

I'm not changing anything yet and using MPLAB (Hi Tech)

Please help me.
Thanks.
padlie
Greenhorn
 
Posts: 2
Joined: Fri Jun 03, 2011 12:06 pm

Re: PR11 - undefined identifier "ADGO"

Postby ober » Fri Jun 03, 2011 2:23 pm

What is the HI-TECH compiler version you are using?

Try to change to latest compiler, or you can replace the "ADGO" with "AD_GO" or "GO_DONE".

This is due to HITECH uses different label for AD GO/DONE bit in different version of compiler.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: PR11 - undefined identifier "ADGO"

Postby padlie » Fri Jun 03, 2011 3:01 pm

Thanks for reply.

I'm using HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.81.
Changed ADGO to GO_DONE and problem solved.

Thanks so much
padlie
Greenhorn
 
Posts: 2
Joined: Fri Jun 03, 2011 12:06 pm

Re: PR11 - undefined identifier "ADGO"

Postby ober » Mon Jun 06, 2011 10:32 am

Good to hear that!
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm


Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 11 guests

cron