Rev Author Line No. Line
1754 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 BORV21 //Brownout reset at 2.1V
9 #FUSES NOPUT //No 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 disabled
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 MCLR //Master Clear pin enabled
21 #FUSES MCU //Microcontroller Mode
22  
23 #use delay(clock=4000000)
24