Skip to content

Commit ee628ee

Browse files
authored
Merge pull request #10 from Mictronics/master
Enable selection of I2C wire interface on Pico RP2040 platform.
2 parents b38094e + a4031c8 commit ee628ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SH1106Wire.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SH1106Wire : public OLEDDisplay {
7272
this->_address = _address;
7373
this->_sda = _sda;
7474
this->_scl = _scl;
75-
#if !defined(ARDUINO_ARCH_ESP32)
75+
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARCH_RP2040)
7676
this->_wire = &Wire;
7777
#else
7878
this->_wire = (_i2cBus==I2C_ONE) ? &Wire : &Wire1;

0 commit comments

Comments
 (0)