This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Adafruit_SHT31.h" | |
Adafruit_SHT31 sht30 = Adafruit_SHT31(); | |
void setup() { | |
Serial.begin(9600); | |
while (!Serial) | |
delay(10); // will pause until serial console opens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_SSD1306.h> | |
Adafruit_SSD1306 display(-1); | |
void setup() { | |
Serial.begin(9600); | |
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3C (for the 64x48) | |
// init done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Adafruit_SHT31.h" | |
#include <Adafruit_SSD1306.h> | |
Adafruit_SSD1306 display(-1); | |
Adafruit_SHT31 sht30 = Adafruit_SHT31(); | |
void setup() { | |
Serial.begin(9600); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BLYNK_PRINT Serial | |
#include "Adafruit_SHT31.h" | |
#include <Adafruit_SSD1306.h> | |
#include <BlynkSimpleEsp8266.h> | |
Adafruit_SSD1306 display(-1); | |
Adafruit_SHT31 sht30 = Adafruit_SHT31(); |