From 94304b11e7220f060dbc345de5fa1952d0465016 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Tue, 27 Sep 2022 16:14:28 -0500 Subject: working on serial syncronization for programming eeprom --- src/pins.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/pins.h (limited to 'src/pins.h') 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 + +#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 + -- cgit v1.2.3