diff options
Diffstat (limited to 'src/pins.h')
-rw-r--r-- | src/pins.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pins.h b/src/pins.h new file mode 100644 index 0000000..f874e19 --- /dev/null +++ b/src/pins.h @@ -0,0 +1,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 + |