Skip to content

Commit

Permalink
add I2C_INT & reorder
Browse files Browse the repository at this point in the history
Add `I2C_INT` to `motor2040.hpp` and put pin defs in numeric order.
  • Loading branch information
robberwick committed Jan 8, 2024
1 parent 6dcc0d4 commit 3e81b24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/motor2040/motor2040.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ namespace motor {
const uint LED_DATA = 18;
const uint NUM_LEDS = 1;

const uint USER_SW = 23;

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;
const uint ADC_ADDR_1 = 24;
const uint ADC_ADDR_2 = 25;
Expand Down

0 comments on commit 3e81b24

Please sign in to comment.