#include <18F4520.h>
#device adc=8
#device icd=true                   //8bit ADC

#FUSES NOWDT                    //No Watch Dog Timer
#FUSES HS                       //High speed Osc (> 4mhz)
#FUSES NOCPD                    //No EE protection
#FUSES STVREN                   //Stack full/underflow will cause reset
#FUSES MCLR                     //Master Clear pin enabled

#use delay(clock=20000000)       //20MHZ CLOCK
#use rs232(baud=9600,parity=N,xmit=PIN_c1,rcv=PIN_C0,bits=8,stream=BASESTREAM,ERRORS,force_sw)

#use i2c(Master,Fast,sda=PIN_C4,scl=PIN_C3)

