> I think you need INTOSC_IO in the config and set the OSCCON > right when the program starts. Hope that helps Hi Bill, Looking back at a couple of projects I'm pretty sure INTRC_IO is the internal oscillator Here's one of my config lines __CONFIG _CONFIG1, _CP_OFF & _INTRC_IO & _MCLR_ON & _WDT_OFF & _PWRTE_OFF= =20 & _BODEN_OFF & _LVP_OFF __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF and banksel osccon movlw b'01100000' ; 110 4MHz ; - OSTS ; - freq stable ; 00 internal RC (set by Config1 FOSC selection) movwf osccon btfss osccon,iofs ;freq stable goto $-1 I seem to remember having silicon issues in a couple of modules with INTRC at 8MHz which is why I ran that project at 4MHz Here are the inc file oscillator options _EXTRC_CLKOUT EQU H'3FFF' _EXTRC_IO EQU H'3FFE' _INTRC_CLKOUT EQU H'3FFD' _INTRC_IO EQU H'3FFC' _EXTCLK EQU H'3FEF' _HS_OSC EQU H'3FEE' _XT_OSC EQU H'3FED' _LP_OSC EQU H'3FEC' Joe=20 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7294 / Virus Database: 4489/11207 - Release Date: 12/18/15 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .