Subversion Repositories Code-Repo

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

#ifndef DEFINES_H
#define DEFINES_H

// Preprocessor define for __delay_ms() and __delay_us()
#define _XTAL_FREQ 32000000

#define CPS_0_TRIS TRISAbits.TRISA0
#define CPS_1_TRIS TRISAbits.TRISA1

#define LED_TRIS TRISAbits.TRISA2
#define LED_LAT LATAbits.LATA2

#define UART_TX_TRIS TRISAbits.TRISA4

#define PWM_TRIS TRISAbits.TRISA5

#endif  /* DEFINES_H */