Line 1... |
Line 1... |
1 |
#include <16F887.h> |
1 |
#include <16F887.h> |
2 |
#device adc=10 |
2 |
#device adc=10 |
3 |
|
3 |
|
4 |
#FUSES WDT // Watch Dog Timer |
4 |
#FUSES WDT // Watch Dog Timer |
5 |
#FUSES INTRC //Internal RC Osc |
5 |
#FUSES INTRC_IO //Internal RC Osc, NO CLK OUT |
6 |
#FUSES NOPUT //No Power Up Timer |
6 |
#FUSES NOPUT //No Power Up Timer |
7 |
#FUSES MCLR //Master Clear pin enabled |
7 |
#FUSES MCLR //Master Clear pin enabled |
8 |
#FUSES NOPROTECT //Code not protected from reading |
8 |
#FUSES NOPROTECT //Code not protected from reading |
9 |
#FUSES NOCPD //No EE protection |
9 |
#FUSES NOCPD //No EE protection |
10 |
#FUSES NOBROWNOUT //No brownout reset |
10 |
#FUSES NOBROWNOUT //No brownout reset |