Add ItsyBitsy support.
Tested successfully on ItsyBitsy RP2040 with MCP9808.
This commit is contained in:
parent
7cb9caaa66
commit
f32d75ac92
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ extern Adafruit_TestBed TB;
|
|||
|
||||
// Some boards have TWO I2C ports, how nifty. We should scan both
|
||||
#if defined(ARDUINO_ADAFRUIT_KB2040_RP2040) \
|
||||
|| defined(ARDUINO_ADAFRUIT_ITSYBITSY_RP2040) \
|
||||
|| defined(ARDUINO_ADAFRUIT_QTPY_ESP32S2) \
|
||||
|| defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO)
|
||||
#define SECONDARY_I2C_PORT &Wire1
|
||||
|
|
@ -49,4 +50,4 @@ void loop() {
|
|||
#endif
|
||||
|
||||
delay(3000); // wait 3 seconds
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue