Re: Problem with PIC 16F628A resetting intermittently
Hello Harold,
I would suggest a couple of changes:
1. BOREN_OFF
2. eliminate all those LOOOOONG pauses by using for next loops with short pauses and big numbers
3. Try to keep subroutines succinct and make sure they terminate with return so you do not get stack overflow problems
I am not sure why you zero counter variables and never use the zero value counting 1 to 5, probably makes no diff but I would
count 0 to 4 just so as not to confuse myself.
#2 is so you can interrupt the loop if you ever need to lets say you add some LCD display as a result of a push button interrupt, you will not
have to wait 5 minutes for the loop to respond.
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