I am using a 12F683 at 8 MHz and find that checking stability of the internal RC oscillator is necessary.
I am using MPLab 8.89 and MPLab Sim to debug.
When running in debug, the program hangs on those two steps. So, I comment them out. Then in the release version, I have to uncomment them. Unfortunately, I sometimes forget to do that.
Is there an easier way?
John
Code:
btfss OSCCON,2 ;check oscillator stable
goto $-1 ;
<next step>
I am using MPLab 8.89 and MPLab Sim to debug.
When running in debug, the program hangs on those two steps. So, I comment them out. Then in the release version, I have to uncomment them. Unfortunately, I sometimes forget to do that.
Is there an easier way?
John