Thanks Dave,
the question is that :could I change with
if button > 5 sec then @DEVICE MCLR_OFF .... and later
If button > 10 sec. then @DEVICE MCLR_ON
...
or this is possible only in the initial declarations ?
Thxs
Thanks Dave,
the question is that :could I change with
if button > 5 sec then @DEVICE MCLR_OFF .... and later
If button > 10 sec. then @DEVICE MCLR_ON
...
or this is possible only in the initial declarations ?
Thxs
i don't believe it's gonna work. These setting are only for the PIC programmer at programming time.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
A simple clear is to jump to the beginning of the program if pin 5 = xxx
with very little work , you do what you want for clearing registers ...
Now, If your program fails, then it's a programming problem ... not a hardware problem.
Remenber chips never do errors ...
Alain
Bookmarks