Give this a try.
Code:#CONFIG __config _HS_OSC & _WDT_ON & _MCLRE_OFF & _CP_OFF #ENDCONFIG
Give this a try.
Code:#CONFIG __config _HS_OSC & _WDT_ON & _MCLRE_OFF & _CP_OFF #ENDCONFIG
Dave
Always wear safety glasses while programming.
Thank You for your reply! I am up and running. Your code worked and I found my code should have been
#CONFIG
cfg = _HS_OSC
cfg&= _WDT_ON
cfg&= _PWRTE_OFF
cfg&= _MCLRE_OFF
cfg&= _BODEN_ON
cfg&= _CP_ON
cfg&= _CPD_OFF
__CONFIG cfg
#ENDCONFIG
define OSC 10
Bookmarks