Skip to content

Commit a78761c

Browse files
committed
Updated robot examples and libraries
Merge branch 'master' into ide-1.5.x
2 parents fc338b4 + ec31a2e commit a78761c

File tree

34 files changed

+2983
-242
lines changed

34 files changed

+2983
-242
lines changed

hardware/arduino/avr/variants/robot_control/pins_arduino.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
#define RXLED0 PORTB |= (1<<0)
3737
#define RXLED1 PORTB &= ~(1<<0)
3838

39+
#define D0 TKD0
40+
#define D1 TKD1
41+
#define D2 TKD2
42+
#define D3 TKD3
43+
#define D4 TKD4
44+
#define D5 TKD5
45+
3946
static const uint8_t RX = 0;
4047
static const uint8_t TX = 1;
4148
static const uint8_t SDA = 2;

hardware/arduino/avr/variants/robot_motor/pins_arduino.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
#define RXLED0 PORTB |= (1<<0)
3737
#define RXLED1 PORTB &= ~(1<<0)
3838

39+
#define D10 TK1
40+
#define D9 TK2
41+
#define D8 TK4
42+
#define D7 TK3
43+
3944
static const uint8_t RX = 0;
4045
static const uint8_t TX = 1;
4146
static const uint8_t SDA = 2;

0 commit comments

Comments
 (0)