Code:
OSCTUNE = %01000111     ' Bit 7  - INTSRC - internal LF Source Select 1 = 31.25 from 16Mhz Internal /512 HF-INTOSC ) 0 = Internal 31khz OSC 
                            ' Bit 6 - PLLEN - 1 PLL enabled  , 0 = PLL disabled 
                            ' Bits 5-0 Frequancy callibaration 00000 = centre Frq   - FREQ ADJ = 5-7  ( the higher the number the slower the osc timing )