mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
Update main.cpp
This commit is contained in:
parent
022fb8755a
commit
c16541a039
@ -52,6 +52,15 @@ void setup() {
|
|||||||
sensors_values.pressure = bme.readPressure() / 100.0F;
|
sensors_values.pressure = bme.readPressure() / 100.0F;
|
||||||
sensors_values.temperature = bme.readTemperature();
|
sensors_values.temperature = bme.readTemperature();
|
||||||
Serial.println("All values were measured.");
|
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
|
#endif
|
||||||
#ifdef BMP280
|
#ifdef BMP280
|
||||||
|
Loading…
Reference in New Issue
Block a user