
Originally Posted by
Pedro Pinto
Hello
Thanks, i will try it. That is the first and unique project where i use a 8 pin PIC
The 12F509 have Flash Program Memory of 1.5 kBytes
The 12F508 have Flash Program Memory of 0.5 kBytes
Therfore i think that is correct - DEFINE OSCCAL_2K 1 - I hope i'm not wrong
The datasheet says - On Reset ALL pins are input.
I will test with GPIO = %00000000 and after that to set the
TRISIO = %11001111
I notice if i have success with this changes
Thanks All
Best Regards
Pedro
Para o Rui, quando estiveres o MSN, falamos
I think you should have
DEFINE OSC 4
in your code. I have never seen OSSCAL done as a define before, I
do not see why not, but I have only seen it done as so:
OSCCAL = %0000000
or
OSCCAL = $00
ANYBODY want to give a short treatise on this ?
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