Skip to content

Commit

Permalink
add I2C_* definitions to servo2040.hpp
Browse files Browse the repository at this point in the history
Add pin definitions for `I2C_INT`, `I2C_SDA`, and `I2C_SCL` to `servo2040.hpp`
  • Loading branch information
robberwick committed Jan 8, 2024
1 parent 3e81b24 commit 9e6a072
Showing 1 changed file with 4 additions and 0 deletions.
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 9e6a072

Please sign in to comment.