Skip to content

Commit 3e81b24

Browse files
committed
add I2C_INT & reorder
Add `I2C_INT` to `motor2040.hpp` and put pin defs in numeric order.
1 parent 6dcc0d4 commit 3e81b24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libraries/motor2040/motor2040.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ namespace motor {
4747
const uint LED_DATA = 18;
4848
const uint NUM_LEDS = 1;
4949

50-
const uint USER_SW = 23;
51-
50+
const uint I2C_INT = 19;
5251
const uint I2C_SDA = 20;
5352
const uint I2C_SCL = 21;
5453

54+
const uint USER_SW = 23;
55+
5556
const uint ADC_ADDR_0 = 22;
5657
const uint ADC_ADDR_1 = 24;
5758
const uint ADC_ADDR_2 = 25;

0 commit comments

Comments
 (0)