Add ItsyBitsy support.

Tested successfully on ItsyBitsy RP2040 with MCP9808.
This commit is contained in:
Kattni 2022-01-25 16:52:30 -05:00 committed by GitHub
parent 7cb9caaa66
commit f32d75ac92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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