#include <18F6520.h>
//#device ICD=TRUE
#device adc=8
#use delay(clock=38000000)
#fuses WDT32, HS, BROWNOUT, BORV25, STVREN, NODEBUG

#define PRODH   0xFF4
#define PRODL   0xFF3
#define WREG    0xFE8

#define T2CON   0xFCA       //timer 2 register
#define SSPSTAT 0xFC7
#define SSPCON1 0xFC6
