Subversion Repositories svnkaklik

Rev

Rev 6 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 6 Rev 410
1
#include <16F88.h>
1
#include <16F88.h>
2
#device adc=8
2
#device adc=8
3
 
3
 
4
#FUSES NOWDT                 	//No Watch Dog Timer
4
#FUSES NOWDT                 	//No Watch Dog Timer
5
#FUSES HS                    	//High speed Osc (> 4mhz)
5
#FUSES HS                    	//High speed Osc (> 4mhz)
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 NOBROWNOUT            	//No brownout reset
8
#FUSES NOBROWNOUT            	//No brownout reset
9
#FUSES NOLVP                 	//No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
9
#FUSES NOLVP                 	//No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
10
#FUSES NOCPD                 	//No EE protection
10
#FUSES NOCPD                 	//No EE protection
11
#FUSES NOWRT                 	//Program memory not write protected
11
#FUSES NOWRT                 	//Program memory not write protected
12
#FUSES NODEBUG               	//No Debug mode for ICD
12
#FUSES NODEBUG               	//No Debug mode for ICD
13
#FUSES NOPROTECT             	//Code not protected from reading
13
#FUSES NOPROTECT             	//Code not protected from reading
14
#FUSES NOFCMEN               	//Fail-safe clock monitor disabled
14
#FUSES NOFCMEN               	//Fail-safe clock monitor disabled
15
#FUSES NOIESO                 //Internal External Switch Over mode disabled
15
#FUSES NOIESO                 //Internal External Switch Over mode disabled
16
 
16
 
17
#use delay(clock=20000000)
17
#use delay(clock=20000000)
18
#use rs232(baud=9600,parity=N,xmit=PIN_B3,rcv=PIN_B5,bits=8)
18
#use rs232(baud=9600,parity=N,xmit=PIN_B3,rcv=PIN_B5,bits=8)
19
 
19