Skip to content

Commit 1ac370b

Browse files
authored
Merge pull request #20 from arduino-libraries/oledback2SW
Switched back to SW I2C Display
2 parents 47eaf78 + ec29e64 commit 1ac370b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Arduino_Sensorkit
2-
version=1.0.8
2+
version=1.0.9
33
author=Lenard George, Pablo Marquínez
44
maintainer=Arduino <info@arduino.cc>
55
sentence=Arduino Sensor Kit

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)