its not in the code you have posted
this code as suggested by henrik works as expected
#CONFIG
__config _HS_OSC & _WDT_ON & _PWRTE_OFF & _MCLRE_ON & _BODEN_ON & _LVP_OFF & DATA_CP_OFF &...
Type: Posts; User: richard; Keyword(s):
its not in the code you have posted
this code as suggested by henrik works as expected
#CONFIG
__config _HS_OSC & _WDT_ON & _PWRTE_OFF & _MCLRE_ON & _BODEN_ON & _LVP_OFF & DATA_CP_OFF &...