Skip to content

Commit

Permalink
Merge pull request #890 from robberwick/motor2040_i2c_pins
Browse files Browse the repository at this point in the history
Add I2C pin definitions to motor2040 and servo2040 headers
  • Loading branch information
ZodiusInfuser committed Feb 13, 2024
2 parents 6b23c15 + 9e6a072 commit 8ca47d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/motor2040/motor2040.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ namespace motor {
const uint LED_DATA = 18;
const uint NUM_LEDS = 1;

const uint I2C_INT = 19;
const uint I2C_SDA = 20;
const uint I2C_SCL = 21;

const uint USER_SW = 23;

const uint ADC_ADDR_0 = 22;
Expand Down
4 changes: 4 additions & 0 deletions libraries/servo2040/servo2040.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ namespace servo {
const uint LED_DATA = 18;
const uint NUM_LEDS = 6;

const uint I2C_INT = 19;
const uint I2C_SDA = 20;
const uint I2C_SCL = 21;

const uint USER_SW = 23;

const uint ADC_ADDR_0 = 22;
Expand Down

0 comments on commit 8ca47d6

Please sign in to comment.