kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Merge pull request #890 from robberwick/motor2040_i2c_pins
Add I2C pin definitions to motor2040 and servo2040 headerspull/905/head v1.22.1
commit
8ca47d6405
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue