Here is the top part of the code from a set up I have working.
This is using the internal OSC, but you should get the idea.Code:'16F88 DEFINE OSC 8 OSCCON= %01110100 @__CONFIG _CONFIG1, _CP_OFF & _CCP1_RB3 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF &_INTRC_IO
You can look in the PicBasic inc file and the inc file in MPASM Suite for all of the possibilities.





Bookmarks