2 |
kaklik |
1 |
#include <16F88.h>
|
|
|
2 |
#device adc=8
|
|
|
3 |
|
|
|
4 |
#FUSES NOWDT //No Watch Dog Timer
|
|
|
5 |
#FUSES INTRC_IO
|
|
|
6 |
#FUSES NOPUT //No Power Up Timer
|
|
|
7 |
#FUSES MCLR //Master Clear pin enabled
|
|
|
8 |
#FUSES BROWNOUT //Reset when brownout detected
|
|
|
9 |
#FUSES LVP //Low Voltage Programming on B3(PIC16) or B5(PIC18)
|
|
|
10 |
#FUSES NOCPD //No EE protection
|
|
|
11 |
#FUSES NOWRT //Program memory not write protected
|
|
|
12 |
#FUSES NODEBUG //No Debug mode for ICD
|
|
|
13 |
#FUSES NOPROTECT //Code not protected from reading
|
|
|
14 |
#FUSES FCMEN //Fail-safe clock monitor enabled
|
|
|
15 |
#FUSES IESO //Internal External Switch Over mode enabled
|
|
|
16 |
|
|
|
17 |
#use delay(clock=8000000,RESTART_WDT)
|
|
|
18 |
|