Subversion Repositories svnkaklik

Rev

Rev 410 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
#include <16F88.h>
2
//#device ICD=TRUE
3
#device adc=8
4
 
5
#FUSES NOWDT                 	//No Watch Dog Timer
6
#FUSES RC                     //Resistor/Capacitor Osc with CLKOUT
7
#FUSES NOPUT                 	//No Power Up Timer
8
#FUSES MCLR                  	//Master Clear pin enabled
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
//#FUSES DEBUG                 	//Debug mode for use with ICD
14
#FUSES NOPROTECT             	//Code not protected from reading
15
#FUSES FCMEN                 	//Fail-safe clock monitor enabled
16
#FUSES IESO                  	//Internal External Switch Over mode enabled
17
 
18
#use delay(clock=4000000)
19
#define MOTORA   PIN_B0
20
#define MOTORB   PIN_B1
21
#define MOTORC   PIN_B2
22
#define MOTORD   PIN_B3
23