Re: Illegal upcode
Hi, Ken
Surprising ... I wrote this one for a '88 3 days ago ... ( I always use MPASM ...)
Code:
'******************************************************************************
'Config
#CONFIG
__config _CONFIG1, _CP_OFF & _CCP1_RB3 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_OFF & _PWRTE_ON & _WDT_ON & _INTRC_IO
__config _CONFIG2, _IESO_OFF & _FCMEN_OFF
#ENDCONFIG
OSCCON = %01101110 ' 4 Mhz Internal RC w/ I/Os
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks