Line 1... |
Line 1... |
1 |
#include <16F887.h> |
1 |
#include <16F887.h> |
2 |
#device adc=8 |
2 |
#device adc=8 |
3 |
|
3 |
|
4 |
#FUSES NOWDT //No Watch Dog Timer |
4 |
#FUSES WDT //Watch Dog Timer |
5 |
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD) |
5 |
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD) |
6 |
#FUSES NOPUT //No Power Up Timer |
6 |
#FUSES PUT //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 |
11 |
#FUSES IESO //Internal External Switch Over mode enabled |
11 |
#FUSES IESO //Internal External Switch Over mode enabled |