From 56ac989ac0dce009c7fe0571af0777e361579c22 Mon Sep 17 00:00:00 2001 From: marqdevx <11246294+marqdevx@users.noreply.github.com> Date: Tue, 12 Jan 2021 09:40:06 +0100 Subject: [PATCH 1/2] Display changed to HW I2C Display changed to HW I2C Constructor changed U8X8_SSD1306_128X64_NONAME_SW_I2C -> U8X8_SSD1306_128X64_NONAME_HW_I2C --- src/Arduino_SensorKit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arduino_SensorKit.h b/src/Arduino_SensorKit.h index a4bb6cb..3281a23 100644 --- a/src/Arduino_SensorKit.h +++ b/src/Arduino_SensorKit.h @@ -25,7 +25,7 @@ #endif //Make the declared components from the .cpp to the sketch available -extern U8X8_SSD1306_128X64_NONAME_SW_I2C Oled; +extern U8X8_SSD1306_128X64_NONAME_HW_I2C Oled; extern SensorKit_LIS3DHTR Accelerometer; extern SensorKit_BMP280 Pressure; extern DHT Environment; From 1782915b5193eb65e9a28db19033505a7908b349 Mon Sep 17 00:00:00 2001 From: marqdevx <11246294+marqdevx@users.noreply.github.com> Date: Tue, 12 Jan 2021 09:40:28 +0100 Subject: [PATCH 2/2] Display changed to HW I2C Display changed to HW I2C Constructor changed U8X8_SSD1306_128X64_NONAME_SW_I2C -> U8X8_SSD1306_128X64_NONAME_HW_I2C --- src/Arduino_SensorKit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arduino_SensorKit.cpp b/src/Arduino_SensorKit.cpp index 0c2a7c1..974ee9f 100644 --- a/src/Arduino_SensorKit.cpp +++ b/src/Arduino_SensorKit.cpp @@ -1,7 +1,7 @@ #include "Arduino_SensorKit.h" //Declare component's classes -U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); +U8X8_SSD1306_128X64_NONAME_HW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); DHT Environment(DHTPIN, DHTTYPE); SensorKit_LIS3DHTR Accelerometer; SensorKit_BMP280 Pressure;