This commit is contained in:
Alexandre B 2024-07-07 14:13:34 -04:00
parent 3a5b0c82fb
commit 8326aaf28e
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
monitor_speed = 9600
lib_deps =
adafruit/Adafruit BME280 Library@^2.2.2
adafruit/Adafruit BMP280 Library@^2.6.8

View File

@ -17,7 +17,7 @@ struct {
void setup() {
Serial.begin(115200);
Serial.begin(9600);
Serial.println();
Serial.println("Running setup ...");
sensors_values.humidity = 0.0;
@ -44,7 +44,7 @@ void setup() {
#endif
#ifdef BMP280
Adafruit_BMP280 bmp;
unsigned status = bmp.begin();
unsigned status = bmp.begin(0x76);
if (!status) {
Serial.println("Could not find a valid BME/BMP280 sensor, check wiring!");
Serial.print("SensorID was: 0x"); Serial.println(bme.sensorID(), 16);