Try this:
@ __CONFIG _CONFIG1, _INTOSCIO & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _LVP_OFF & _BOR_ON
CM1CON0 = 0
CM2CON0 = 0
You will get overwriting previous address error unless you comment out the config statement in your 16F886.inc file in the root of your PBP directory, because there is already a config statement there and PBP blends or includes this file into the compile automaticly.
JS
Last edited by Archangel; - 16th September 2007 at 06:00.
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.
Bookmarks