ESP32 Arduino code that prints BME280 temperature to the Arduino Serial Plotter (115200)
You'll need to install from the Arduino IDE those dependencies:
The BME280 sensor should be connected to the ESP32 over I2C.
If the BME280 I2C address is not
0x76, you'll need to modify the
Depending on your board, you'll also need to modify the SDA and SCL pin names in the
Wire.begin(SDA, SCL); call.
Wemos Lolin D32 Pro
Wemos Lolin32 Lite
DOIT Esp32 DevKit v1