876 |
kaklik |
1 |
#include <18F87J60.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 HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
|
|
|
7 |
#FUSES NODEBUG //No Debug mode for ICD
|
|
|
8 |
#FUSES NOXINST //Extended set extension and Indexed Addressing mode disabled (Legacy mode)
|
|
|
9 |
#FUSES STVREN //Stack full/underflow will cause reset
|
|
|
10 |
#FUSES NOPROTECT //Code not protected from reading
|
|
|
11 |
#FUSES FCMEN //Fail-safe clock monitor enabled
|
|
|
12 |
#FUSES IESO //Internal External Switch Over mode enabled
|
|
|
13 |
#FUSES PRIMARY //Primary clock is system clock when scs=00
|
|
|
14 |
#FUSES ECCPE //Enhanced CCP PWM outpts multiplexed with RE6 thorugh RE3
|
|
|
15 |
#FUSES ETHLED //Ethernet LED enabled
|
|
|
16 |
|
|
|
17 |
#use delay(clock=25000000)
|
|
|
18 |
|