If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I removed the @DEVICE line, and I have MPASM enabled. It is MPASM that is generating the errors. I think the problem has to do with where all of the various components are located, relative to one another. (MPASM can't find the P16F689.INC file) I'm still reading.
Try this for your config statement:
@__CONFIG _HS_OSC & _WDT_OFF & _PWRTE_ON & _LVP_OFF & _BODEN_OFF
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Thanks for trying Joe, but that didn't do it. I think there's something fundamentally wrong, as the compiler doesn't know about 16f689.
I don.t know what version you are using, look into your PBP directory and see if you have a file16F689.inc, also see if the code compiles with a similar chip. OK here is the data sheet:http://ww1.microchip.com/downloads/e...Doc/41262B.pdf
Last edited by Archangel; - 9th March 2008 at 19:21.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Yes, the file is there. And I already have 2 copies of the data sheet, thank you!
Here are the first three error messages:
Error [132]c:\pbp\16f689.inc 20: Unknown processor (16f689)
Message [301] c:\progra~1\mecani~\mcs\p16f689.inc 32: MESSAGE: (Processor header file mismatch. Verify selected processor.)
Error [131]c:\pbp\16f689.inc 22: Processor type is undefined.
Many more errors.
If you have installed the latest version of MPLAB,
the MPASM files should be located in the C:\program files\microchip\mpasm suite folder.
Sometimes the Find Automatically button doesn't find the correct folder.
In MCS, go to the View | Compile and Program Options | Assembler Tab
Click the Find Manually ... button and point it to
C:\program files\microchip\mpasm suite
Then check the Use MPASM checkbox.
DT
Bookmarks