Re: Serial Timeout Strange Issues
Here is a shot in the dark.
You have not posted any config fuses in your code so I am free to assume you are allowing your code to use the Default configs which are located in the 16F84.inc file found in your PBP root directory.
This is the default MPASM config:
__config _XT_OSC & _WDT_ON & _CP_OFF
and here is the PM default config:
device pic16F84, xt_osc, wdt_on, protect_off
it defaults to WDT_ON, I think your code is hanging waiting and the WDT resets and the follies begin. You should early in your PIC programming career learn how to set them in your code so there are no surprises.
It is explained in this thread:
http://www.picbasic.co.uk/forum/showthread.php?t=543
Last edited by Archangel; - 8th June 2011 at 10:13.
Reason: add
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