You might try...That's 2 underscores before the 18F.Code:ASM ifndef __18F8722 error "18F8722 not selected" endif ENDASM
You might try...That's 2 underscores before the 18F.Code:ASM ifndef __18F8722 error "18F8722 not selected" endif ENDASM
DT
Last edited by Archangel; - 18th April 2007 at 06:03.
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.
Hi,
I always comment my code as to which PIC I am using. Cause I forget and MCS too. This handy piece of code is really helpful. Thanks again to Charles and Darrel.
Regards
Sougata
Hi, Picmen
Does anybody know how to define wich is the PIC from the source listing ???
( to avoid having to use " CONFIGURE/Select device " manually in MPLAB or MPASM )
That's the only point I didn't solve ... others work well !!!
Ok, I know works without changing "select device" for "similar architecture" PICs ... i.e 12F629and 12F675 ... or 16F628 and 16F648.
but what doable for 16F84 and 16F88, i.e ???
Thanks
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks