aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-08-22 16:30:28 +0200
committerCristian Maglie <c.maglie@bug.st>2013-08-22 16:30:28 +0200
commit67c84855c2f3ce99b091a756bb2ca1a016260659 (patch)
tree56af826db9092379283ccdf6f98245043c0fb5a1
parent6a1c3303d6d94330a7871361638043de946c2411 (diff)
parentaaaa2c3ab66ebb273338a15cc2a220b90cf3c0bd (diff)
Updated robot examples and libraries
Merge branch 'master' into ide-1.5.x
-rw-r--r--variants/robot_control/pins_arduino.h7
-rw-r--r--variants/robot_motor/pins_arduino.h5
2 files changed, 12 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;
diff --git a/variants/robot_motor/pins_arduino.h b/variants/robot_motor/pins_arduino.h
index 902d424..36d2742 100644
--- a/variants/robot_motor/pins_arduino.h
+++ b/variants/robot_motor/pins_arduino.h
@@ -36,6 +36,11 @@
#define RXLED0 PORTB |= (1<<0)
#define RXLED1 PORTB &= ~(1<<0)
+#define D10 TK1
+#define D9 TK2
+#define D8 TK4
+#define D7 TK3
+
static const uint8_t RX = 0;
static const uint8_t TX = 1;
static const uint8_t SDA = 2;