Reads the temperature and humidity values from BME280 sensor, create a beautiful chart of the data on a webserver whose data is stored on SPIFFS memory.
const char *ssid = "REPLACE_WITH_YOUR_SSID"; //replace with your SSID
const char *password = "REPLACE_WITH_YOUR_PASSWORD"; // replace with your Password
/*#include <SPI.h>
#define BME_SCK 14
#define BME_MISO 12
#define BME_MOSI 13
#define BME_CS 15*/
Adafruit_BME280 bme(BME_CS); // use this for hardware SPI
Adafruit_BME280 bme(BME_CS, BME_MOSI, BME_MISO, BME_SCK); // use this for software SPI
#include <Wire.h> // use this for I2C
Adafruit_BME280 bme; // use this for I2C
NodeMCU
BME280 Sensor
Jumper Wires
Download ESPAsyncWebServer library
Download ESPAsyncTCP library
Download ESP8266 Filesystem Uploader
Download Project file