We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394545f commit 20e0e85Copy full SHA for 20e0e85
src/Arduino_SensorKit.h
@@ -14,8 +14,7 @@
14
#include "Arduino_SensorKit_BMP280.h" // Pressure
15
#include "Arduino_SensorKit_LIS3DHTR.h" // Accel
16
#include "DHT.h" // Temp & Humidity
17
-#include "U8g2lib.h" // Oled Display
18
-
+#include "U8x8lib.h" // Oled Display
19
20
//Defines
21
#ifndef DHTTYPE
@@ -25,15 +24,8 @@
25
24
#define DHTPIN 3
26
#endif
27
28
-class SensorKit {
29
- public:
30
- SensorKit();
31
- bool begin();
32
- void end();
33
-};
34
35
//Make the declared components from the .cpp to the sketch available
36
-extern U8G2_SSD1306_128X64_NONAME_F_SW_I2C Oled;
+extern U8X8_SSD1306_128X64_NONAME_HW_I2C Oled;
37
extern SensorKit_LIS3DHTR Accelerometer;
38
extern SensorKit_BMP280 Pressure;
39
extern DHT Environment;
0 commit comments