blob: f874e197a9e717094107f5b01ca927fc4a931d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef __PINS_INC
/**
* CTS is connected to CTS, CTS is 1 when we are ready
* scope pins:
* 1: desktop tx
* 2: desktop rx
* 3: desktop rts
* 4: desktop cts
*/
#define __PINS_INC
#include <avr/io.h>
#define UART_DDR DDRD
#define UART_CTS PD2 //cyan
#define UART_RTS PD3 //yellow
#define UART_PORT PORTD
#define LED_DEBUG_DDR DDRB
#define LED_DEBUG_PORT PORTB
#define LED_DEBUG PB5
#endif
|