Line 1... |
Line 1... |
1 |
#include <16F877A.h> |
1 |
#include <16F877A.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 XT //Crystal osc <= 4mhz |
5 |
#FUSES XT //Crystal osc <= 4mhz |
6 |
#FUSES NOPUT //No Power Up Timer |
6 |
#FUSES NOPUT //No Power Up Timer |
7 |
#FUSES NOPROTECT //Code not protected from reading |
7 |
#FUSES NOPROTECT //Code not protected from reading |
8 |
#FUSES NODEBUG //No Debug mode for ICD |
8 |
#FUSES NODEBUG //No Debug mode for ICD |
9 |
#FUSES NOBROWNOUT //No brownout reset |
9 |
#FUSES NOBROWNOUT //No brownout reset |