Skip to content

Commit 8ca47d6

Browse files
Merge pull request #890 from robberwick/motor2040_i2c_pins
Add I2C pin definitions to motor2040 and servo2040 headers
2 parents 6b23c15 + 9e6a072 commit 8ca47d6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libraries/motor2040/motor2040.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ namespace motor {
4747
const uint LED_DATA = 18;
4848
const uint NUM_LEDS = 1;
4949

50+
const uint I2C_INT = 19;
51+
const uint I2C_SDA = 20;
52+
const uint I2C_SCL = 21;
53+
5054
const uint USER_SW = 23;
5155

5256
const uint ADC_ADDR_0 = 22;

libraries/servo2040/servo2040.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ namespace servo {
3030
const uint LED_DATA = 18;
3131
const uint NUM_LEDS = 6;
3232

33+
const uint I2C_INT = 19;
34+
const uint I2C_SDA = 20;
35+
const uint I2C_SCL = 21;
36+
3337
const uint USER_SW = 23;
3438

3539
const uint ADC_ADDR_0 = 22;

0 commit comments

Comments
 (0)