#include <24FJ256GA110.h>
#device ICD=TRUE
#FUSES WPOSTS1 // Watch Dog Timer PostScalar 1:1
#FUSES NOWDT // No Watch Dog Timer
#FUSES ICSP1 // ICD uses PGC1/PGD1 pins
#FUSES DEBUG // Debug mode for use with ICD
#FUSES NOWRT // Program memory not write protected
#FUSES NOPROTECT // Code not protected from reading
#FUSES NOJTAG // JTAG disabled
#FUSES NOPR // Pimary oscillaotr disabled
#FUSES NOWPCFG // Configuration Words page is not erase/write-protected
#FUSES NOALTI2C2 // I2C2 mapped to SDA2/SCL2 pins
#FUSES NOIOL1WAY // Allows multiple reconfigurations of peripheral pins
#FUSES OSCIO // OSC2 is general purpose output
#FUSES NOCKSFSM // Clock Switching is disabled, fail Safe clock monitor is disabled
#FUSES NOIESO // Internal External Switch Over mode disable#FUSES
#FUSES NOWPFP // Write/Erase Protect Page Start/End Location, set to page 0
#FUSES WPDIS // All Flash memory may be erased or written
#FUSES NOWPCFG // Configuration Words page is not erase/write-protected
#FUSES FRC_PLL // Internal Fast RC oscillator with PLL
#use delay(clock=16M)
#use rs232(UART1, baud=115200, bits=8, parity=n, stop=1, BRGH1OK, errors, stream=MAINCOM)