Welcome to DFRobot: www.DFRobot.com.cn 37 / 49
hum = bme.altitudeValue(SEA_LEVEL_PRESSURE);
alt = bme.humidityValue();
Serial.print("Temp:");
Serial.print(temp);
Serial.println(" ℃");
Serial.print("Pa:");
Serial.print(pa);
Serial.println(" Pa");
Serial.print("Hum:");
Serial.print(hum);
Serial.println(" m");
Serial.print("Alt:");
Serial.print(alt);
Serial.println(" %");
Serial.println("------END------");
delay(1000);
}
IDE Please click verify/compile to review and please upload it after the confirmation.
Once you click Upload, IDE will send codes to FireBeetle Board-ESP32.
Once the upload finishes, open the built-in serial monitor of Arduino IDE, print message shown as
below.