Skip to content

Commit 20e0e85

Browse files
authored
Update Arduino_SensorKit.h
1 parent 394545f commit 20e0e85

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/Arduino_SensorKit.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
#include "Arduino_SensorKit_BMP280.h" // Pressure
1515
#include "Arduino_SensorKit_LIS3DHTR.h" // Accel
1616
#include "DHT.h" // Temp & Humidity
17-
#include "U8g2lib.h" // Oled Display
18-
17+
#include "U8x8lib.h" // Oled Display
1918

2019
//Defines
2120
#ifndef DHTTYPE
@@ -25,15 +24,8 @@
2524
#define DHTPIN 3
2625
#endif
2726

28-
class SensorKit {
29-
public:
30-
SensorKit();
31-
bool begin();
32-
void end();
33-
};
34-
3527
//Make the declared components from the .cpp to the sketch available
36-
extern U8G2_SSD1306_128X64_NONAME_F_SW_I2C Oled;
28+
extern U8X8_SSD1306_128X64_NONAME_HW_I2C Oled;
3729
extern SensorKit_LIS3DHTR Accelerometer;
3830
extern SensorKit_BMP280 Pressure;
3931
extern DHT Environment;

0 commit comments

Comments
 (0)