Skip to content

Commit

Permalink
Fixed robot libraries and examples for unified Arduino core
Browse files Browse the repository at this point in the history
  • Loading branch information
Xun Yang committed Aug 21, 2013
1 parent 293e46b commit ec31a2e
Show file tree
Hide file tree
Showing 34 changed files with 2,983 additions and 242 deletions.
7 changes: 7 additions & 0 deletions hardware/arduino/variants/robot_control/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions hardware/arduino/variants/robot_motor/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit ec31a2e

Please sign in to comment.