Jump to content
Sign in to follow this  

compiling example programs

Recommended Posts

I am having some trouble compiling the example programs from the PicAnt web page:



Am I doing something wrong or has the entire compiler changed since these examples were written?


Most include *.inc files, which seem to have been renamed *.h


Furthermore, all the definitions seem to have been changed from upper to lower case, or underscores removed.  Messages about built-in variables being obsolete are all over the place...


When I finally change all this around on one of the examples, inter4.c, I get this:

Location of "_eedata" already occupied or not valid.


What gives?


I was able to get some LEDs flashing, but that's it.  None of the RS232 examples compile.  When I use the project wizard, there appears to be a routine for sending a single character through the serial port (and part of a receive system seems to be written).  However, I don't see one single example that uses the project wizard.


Is there some sort of documentation I am missing or do I just have to guess?


Is there some magic trick to get the examples to compile?


(BTW: I am using version 5.2)

Share this post

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...