aboutsummaryrefslogtreecommitdiff
path: root/variants/robot_control
diff options
context:
space:
mode:
authorXun Yang <me@xunyangixder.com>2013-08-21 23:04:42 +0200
committerXun Yang <me@xunyangixder.com>2013-08-21 23:14:00 +0200
commitaaaa2c3ab66ebb273338a15cc2a220b90cf3c0bd (patch)
treeac5237e205b1717de7080128187ff4c94cc59fc6 /variants/robot_control
parent40b622a5d1e2cd347fcf1571e97602ec611addab (diff)
Fixed robot libraries and examples for unified Arduino core
Diffstat (limited to 'variants/robot_control')
-rw-r--r--variants/robot_control/pins_arduino.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/variants/robot_control/pins_arduino.h b/variants/robot_control/pins_arduino.h
index d7ecae5..1967845 100644
--- a/variants/robot_control/pins_arduino.h
+++ b/variants/robot_control/pins_arduino.h
@@ -36,6 +36,13 @@
#define RXLED0 PORTB |= (1<<0)
#define RXLED1 PORTB &= ~(1<<0)
+#define D0 TKD0
+#define D1 TKD1
+#define D2 TKD2
+#define D3 TKD3
+#define D4 TKD4
+#define D5 TKD5
+
static const uint8_t RX = 0;
static const uint8_t TX = 1;
static const uint8_t SDA = 2;