Update main.cpp

This commit is contained in:
Alexander 2024-07-07 16:38:42 -04:00
parent 022fb8755a
commit c16541a039

View File

@ -52,6 +52,15 @@ void setup() {
sensors_values.pressure = bme.readPressure() / 100.0F;
sensors_values.temperature = bme.readTemperature();
Serial.println("All values were measured.");
Serial.print("Temperature: ");
Serial.print(sensors_values.temperature);
Serial.println();
Serial.print("Pressure: ");
Serial.print(sensors_values.pressure);
Serial.println();
Serial.print("Humidity: ");
Serial.print(sensors_values.humidity);
Serial.println();
}
#endif
#ifdef BMP280