Skip to content

Commit 851d426

Browse files
committed
Switched back to SW I2C Display
1 parent 47eaf78 commit 851d426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Arduino_SensorKit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "Arduino_SensorKit.h"
22

33
//Declare component's classes
4-
U8X8_SSD1306_128X64_NONAME_HW_I2C Oled(/* reset=*/ U8X8_PIN_NONE);
4+
U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);
55
DHT Environment(DHTPIN, DHTTYPE);
66
SensorKit_LIS3DHTR Accelerometer;
77
SensorKit_BMP280 Pressure;

src/Arduino_SensorKit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#endif
2626

2727
//Make the declared components from the .cpp to the sketch available
28-
extern U8X8_SSD1306_128X64_NONAME_HW_I2C Oled;
28+
extern U8X8_SSD1306_128X64_NONAME_SW_I2C Oled;
2929
extern SensorKit_LIS3DHTR Accelerometer;
3030
extern SensorKit_BMP280 Pressure;
3131
extern DHT Environment;

0 commit comments

Comments
 (0)