'16F88 register settings for ME307 labs 'The following configuration bits and register settings 'enable the internal oscillator, set it to 8MHz, 'disables master clear, and turns off A/D conversion '''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' CONFIGURATION BITS 'oscillator INTRC-OSC2 as RA6 'watchdog timer off 'power up timer off 'RA5/MCLR pin function select RA5 'brown out detect on 'low voltage program disabled 'data EE read protect off 'flash program write write protect off 'ccp1 mux RB0 'code protect off 'Fail-safe clock monitor enable enabled 'internal external switch over mode disabled ''''''''''''''''''''''''''''''''''''''''''''''''''''''''' DEFINE OSC 8 OSCCON.4 = 1 'Sets the internal oscillator frequency to 8 MHz OSCCON.5 = 1 OSCCON.6 = 1 ansel = 0 'Turns off analog to digital conversion. Refer to 'Threaded Design Example A.4 p.296-299 of the textbook 'for an example of how to configure and use A/D conversion