Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
238 kakl 1
#include <16F873A.h>
136 kakl 2
#device adc=8
3
 
4
#FUSES NOWDT                 	//No Watch Dog Timer
238 kakl 5
#FUSES HS                    	//High speed Osc (> 4mhz)
136 kakl 6
#FUSES NOPUT                 	//No Power Up Timer
7
#FUSES NOPROTECT             	//Code not protected from reading
238 kakl 8
#FUSES NODEBUG               	//No Debug mode for ICD
136 kakl 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 kakl 14
#use delay(clock=20000000)
15
#use i2c(Master,Fast,sda=PIN_C4,scl=PIN_C3,force_hw)
136 kakl 16