// Howdy 👋.
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
// You can also create your own flexible parts, like generics (https://docs.flux.ai/Introduction/generic-parts)
//
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
//
// We also have a Flux Slack Community in case you need help: https://join.slack.com/t/fluxcommunity/shared_invite/zt-2hi664box-TNSNJ_~nUkNHkxeULXkSog
//
// To infinity and beyond 🚀
#include < Wire.h >
#include < Adafruit_Sensor.h >
#include < Adafruit_BME680.h >
// Create an instance of the sensor
Adafruit_BME680 bme;
void setup() {
// Start the serial communication
Serial.begin(115200);
while (!Serial);
chihab22
copilot
chihab22
copilot
Adafruit_BME680library which can be installed via the Arduino Library Manager.Sketch>Include Library>Manage Libraries....Adafruit BME680and clickInstall.File>Preferences.https://dl.espressif.com/dl/package_esp32_index.json.Tools>Board>Boards Manager....esp32and clickInstall.Tools>Board>ESP32 Dev Module.Tools>Port.Uploadbutton (->) to flash the code to your ESP32.