Rev Author Line No. Line
1746 kakl 1 #include <18F8310.h>
2 #device adc=8
3  
4 #FUSES NOWDT //No Watch Dog Timer
5 #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
6 #FUSES INTRC_IO //Internal RC Osc, no CLKOUT
7 #FUSES NOBROWNOUT //No brownout reset
8 #FUSES BORV46 //Brownout reset at 4.6V
9 #FUSES PUT //Power Up Timer
10 #FUSES BW16 //16-bit external bus mode
11 #FUSES STVREN //Stack full/underflow will cause reset
12 #FUSES NODEBUG //No Debug mode for ICD
13 #FUSES IESO //Internal External Switch Over mode enabled
14 #FUSES NOFCMEN //Fail-safe clock monitor enabled
15 #FUSES NOXINST //Extended set extension and Indexed Addressing mode disabled (Legacy mode)
16 #FUSES NOWAIT //Wait selections unavailable for Table Reads or Table Writes
17 #FUSES NOPROTECT //Code not protected from reading
18 #FUSES NOEBTR //Memory not protected from table reads
19 #FUSES LPT1OSC //Timer1 configured for low-power operation
20 #FUSES NOMCLR //Master Clear pin enabled
21 #FUSES MCU //Microcontroller Mode
22  
23 #use delay(clock=1000000)
24 #use rs232(baud=19200,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
25