Re: SOLVED - PIC seems to RESET unless I add a PAUSE in Mainloop
It's not a bug nor does it have any relationship to being a tight loop, the var=0 statement simply doesn't incorporate a clwdt instruction [quite correctly]. Any endless loop Consisting solely of that sort of statement will exhibit the same effect. It's not a practical program more a curiosity. If you just had to use it a two minute glance at the .lst file would reveal the issue, simply solved with an @ clwdt line or by disabling the wdt
Last edited by richard; - 27th September 2024 at 10:48.
Warning I'm not a teacher
Bookmarks