Merge pull request #890 from robberwick/motor2040_i2c_pins

Add I2C pin definitions to motor2040 and servo2040 headers
pull/905/head v1.22.1
ZodiusInfuser 2024-02-13 12:00:05 +00:00 zatwierdzone przez GitHub
commit 8ca47d6405
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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;