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