Hi,
Not so sure ...
as you write the cal value in a "non protected" memory location and not at the end of the program memory ...
you'll lose the cal value if you use the '675 for another program.
so it's much better to write it at the end of the program memory, as programmers will read it ( and preserve it ) if you do not remember what you had done ... some weeks later.
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 " !!!
*****************************************
Here is a copy / paste from one of my programs 12F675:
Code:POKECODE @$3FF, $50 ' reintroduces osscal correction data ' $3FF tells it where to code, $50 is the ' Cal value unique to each individual chip.
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