Skip to content

Commit 6dcc0d4

Browse files
committed
Add I2C pin definitions to motor2040 header
Add definitions for the QW/ST connector SDA & SCL pins
1 parent 8eac60a commit 6dcc0d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/motor2040/motor2040.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ namespace motor {
4949

5050
const uint USER_SW = 23;
5151

52+
const uint I2C_SDA = 20;
53+
const uint I2C_SCL = 21;
54+
5255
const uint ADC_ADDR_0 = 22;
5356
const uint ADC_ADDR_1 = 24;
5457
const uint ADC_ADDR_2 = 25;

0 commit comments

Comments
 (0)