
Originally Posted by
karan123
Thanks for Reply...
1)
What is a " Glow LED"?
Means ON LED with PIC12F508 uC.
2)
Please define what you mean by " reset" pic
Restart from Scratch when power is ON
Karan
To restart"from scratch" would require a power off or MCLR reset, maybe a brownout recovery, but I doubt it. So to reset you can use the mclr pin with a 5k resistor pulling it high and tie one of the other pins set as input to it, to reset just say LOW for that pin and PIC will reset. Other way would involve opening the VDD with a transistor or relay. Glow_LED var GPIO.0
HIGH Glow_LED
Lastly you could put a label at the very beginning of you code and execute a goto label, that will not however reset every register unless you have set every register in code.
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