Rev Author Line No. Line
1820 kaklik 1 #include <16F877.h>
2 #device adc=10
3  
4 #FUSES NOWDT //No Watch Dog Timer
5 #FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
6 #FUSES NOPUT //No Power Up Timer
7 #FUSES NOPROTECT //Code not protected from reading
8 #FUSES NOBROWNOUT //No brownout reset
9 #FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
10 #FUSES NOCPD //No EE protection
11 #FUSES NOWRT //Program memory not write protected
12 #FUSES NODEBUG //No Debug mode for ICD
13  
14 #use delay(clock=20000000)
15 #use rs232(baud=9600,parity=N,xmit=PIN_B7,rcv=PIN_B6,bits=8)
16