From aaaa2c3ab66ebb273338a15cc2a220b90cf3c0bd Mon Sep 17 00:00:00 2001 From: Xun Yang Date: Wed, 21 Aug 2013 23:04:42 +0200 Subject: [PATCH] Fixed robot libraries and examples for unified Arduino core --- variants/robot_control/pins_arduino.h | 7 +++++++ variants/robot_motor/pins_arduino.h | 5 +++++ 2 files changed, 12 insertions(+) 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;