Subversion Repositories Code-Repo

Rev

Rev 272 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
163 Kevin 1
#ifndef DEFINES_H
2
#define	DEFINES_H
3
 
4
// Preprocessor define for __delay_ms() and __delay_us()
5
#define _XTAL_FREQ 32000000
6
 
7
#define CPS_0_TRIS TRISAbits.TRISA0
8
#define CPS_1_TRIS TRISAbits.TRISA1
9
 
10
#define LED_TRIS TRISAbits.TRISA2
11
#define LED_LAT LATAbits.LATA2
12
 
13
#define UART_TX_TRIS TRISAbits.TRISA4
14
 
15
#define PWM_TRIS TRISAbits.TRISA5
16
 
17
#endif	/* DEFINES_H */
18