Migrate to PlatformIO
This commit is contained in:
parent
22dd57d831
commit
729ecb5602
24 changed files with 370 additions and 55 deletions
21
Screen.h
21
Screen.h
|
@ -1,21 +0,0 @@
|
|||
#ifndef Screen_h
|
||||
#define Screen_h
|
||||
|
||||
#include <Wire.h>
|
||||
#include <Adafruit_SSD1306.h>
|
||||
#include "Sensors.h"
|
||||
|
||||
class Screen {
|
||||
Adafruit_SSD1306 _screen=Adafruit_SSD1306(128, 64, &Wire, -1);
|
||||
Sensors *_sensors;
|
||||
int _sdaPin, _sclPin;
|
||||
|
||||
void writeTemperature();
|
||||
|
||||
public:
|
||||
Screen(Sensors *sensors, int sdaPin, int sclPin);
|
||||
void setup();
|
||||
void update();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue