diff --git a/library.properties b/library.properties index 6825a68..0039616 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Arduino_Sensorkit -version=1.0.8 +version=1.0.9 author=Lenard George, Pablo Marquínez maintainer=Arduino sentence=Arduino Sensor Kit diff --git a/src/Arduino_SensorKit.cpp b/src/Arduino_SensorKit.cpp index 5ba43d1..0c2a7c1 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_HW_I2C Oled(/* reset=*/ U8X8_PIN_NONE); +U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); DHT Environment(DHTPIN, DHTTYPE); SensorKit_LIS3DHTR Accelerometer; SensorKit_BMP280 Pressure; diff --git a/src/Arduino_SensorKit.h b/src/Arduino_SensorKit.h index 8113ecb..9fdefb0 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_HW_I2C Oled; +extern U8X8_SSD1306_128X64_NONAME_SW_I2C Oled; extern SensorKit_LIS3DHTR Accelerometer; extern SensorKit_BMP280 Pressure; extern DHT Environment;