Posted by Andy in Indy on January 11, 2002 at 07:41:13:
In Reply to: Re: programming pics posted by Luke De Vincentis on January 11, 2002 at 02:02:22:
The Include file should be included in the download of MPLAB from Microchip. I can't vouch for other compilers.
How exactly does the circuit not function. Glen in Maine had no display when he powered up the first time he built the gun - the default is to have no display.
I will be talking to Tom Baker, one of the designers, on Sunday. E-mail the specifics to me at:
truax-hasara@worldnet.att.net and I will ask him about it.
-Andy in Indy
: : : When you say change the definition do you also mean change #include to p16f84?
: : Thats it exactly, the include file contains microchips definition, its basically a file that specifies ports and suchlike for each chip.
: : : Also I was wondering where does this include file come from? I dont have it. Is it hardcoded on to the microchip?
: : The inc files should be available to download from the microchip website. When you compile the digigun code you need all files referenced in the .ASM file. That means the appropriate Pic .INC file as well as any others.
: : Im assuming you have the compiler software already to generate your final .HEX file ?
: Is there anything else i need to know to get it working? I have built the circuit and it does not seem to function as speciifed. This is probably due however to the fact i have not yet got the relevant .inc files from Microchip yet. I noticed though, that when i compile the hex code by changing the #include to from , as it is provided when downloaded, the code seems to compile o.k as it shows no errors. Yet i have not yet got the include file from Microchip yet, as was suggested before. How can it compile o.k if i have not even got the include file in the same directory as yet (i am about to go look for it at microchip). Maybe this is why the circuit does not seem to work despite the fact that the code compiles o.k. Does this make any sense to you??
: Please explain if you know what i am on about...
: Help much appreciated again,
: Luke De Vincentis