summaryrefslogtreecommitdiff
path: root/src/pins.h
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcsapce.com>2022-09-27 16:14:28 -0500
committerBrett Weiland <brett_weiland@bpcsapce.com>2022-09-27 16:14:28 -0500
commit94304b11e7220f060dbc345de5fa1952d0465016 (patch)
treef16e84c54b27f67e089ded1175fbf8b561896b42 /src/pins.h
parent7b006d6f2032ac46074d693ae59a971bee327ace (diff)
working on serial syncronization for programming eeprom
Diffstat (limited to 'src/pins.h')
-rw-r--r--src/pins.h25
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
+