238 |
kaklik |
1 |
#include <16F876A.h> |
223 |
kapl |
2 |
#device adc=8 |
|
|
3 |
|
246 |
kaklik |
4 |
#FUSES WDT //Watch Dog Timer |
238 |
kaklik |
5 |
#FUSES HS//XT //Crystal osc <= 4mhz |
223 |
kapl |
6 |
#FUSES NOPUT //No Power Up Timer |
|
|
7 |
#FUSES NOPROTECT //Code not protected from reading |
|
|
8 |
#FUSES NODEBUG //No Debug mode for ICD |
|
|
9 |
#FUSES NOBROWNOUT //No brownout reset |
|
|
10 |
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O |
|
|
11 |
#FUSES NOCPD //No EE protection |
|
|
12 |
#FUSES NOWRT //Program memory not write protected |
|
|
13 |
|
238 |
kaklik |
14 |
#use delay(clock=18432000,RESTART_WDT) |
246 |
kaklik |
15 |
#use rs232(STREAM=MOBIL,baud=19200,force_sw,parity=N,xmit=PIN_C6,rcv=PIN_B5,bits=8) |
238 |
kaklik |
16 |
#use rs232(STREAM=VRTULE,baud=600,parity=N,xmit=PIN_B2,rcv=PIN_B4,bits=8) |
223 |
kapl |
17 |
|