File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030 - name : Install PlatformIO
3131 run : |
3232 python -m pip install --upgrade pip
33- pip install --upgrade platformio
33+ pip install --upgrade platformio intelhex
3434 - name : Install library dependencies
3535 run : pio pkg install -g -l "paulstoffregen/Time@^1.6"
3636 - name : Run PlatformIO
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class SH1106Wire : public OLEDDisplay {
7777 this ->_address = address;
7878 this ->_sda = sda;
7979 this ->_scl = scl;
80- #if !defined(ARDUINO_ARCH_ESP32)
80+ #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
8181 this ->_wire = &Wire;
8282#else
8383 this ->_wire = (i2cBus==I2C_ONE) ? &Wire : &Wire1;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class SSD1306Wire : public OLEDDisplay {
7878 this ->_address = address;
7979 this ->_sda = sda;
8080 this ->_scl = scl;
81- #if !defined(ARDUINO_ARCH_ESP32)
81+ #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
8282 this ->_wire = &Wire;
8383#else
8484 this ->_wire = (i2cBus == I2C_ONE) ? &Wire : &Wire1;
You can’t perform that action at this time.
0 commit comments