|
@@ -38,6 +38,9 @@
|
38
|
38
|
// LED
|
39
|
39
|
//
|
40
|
40
|
#define LED_PIN P1_18
|
|
41
|
+#define LED2_PIN P1_20
|
|
42
|
+#define LED3_PIN P1_19
|
|
43
|
+#define LED4_PIN P1_21
|
41
|
44
|
|
42
|
45
|
//
|
43
|
46
|
// Servos
|
|
@@ -79,14 +82,13 @@
|
79
|
82
|
#define E0_ENABLE_PIN P0_04
|
80
|
83
|
|
81
|
84
|
//
|
82
|
|
-// DIGIPOT slave addresses
|
|
85
|
+// DIGIPOT slave addresses (7-bit unshifted)
|
83
|
86
|
//
|
84
|
87
|
#ifndef DIGIPOT_I2C_ADDRESS_A
|
85
|
|
- #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
|
88
|
+ #define DIGIPOT_I2C_ADDRESS_A 0x2C
|
86
|
89
|
#endif
|
87
|
|
-
|
88
|
90
|
#ifndef DIGIPOT_I2C_ADDRESS_B
|
89
|
|
- #define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT
|
|
91
|
+ #define DIGIPOT_I2C_ADDRESS_B 0x2E
|
90
|
92
|
#endif
|
91
|
93
|
|
92
|
94
|
//
|