I'm using the Adafruit_BME280 library to connect my temperature sensor to a NodeMCU. The sensor is connected to the default SPI pins.
I tried two different approaches:
Adafruit_BME280 bme; bme.begin();
In this case communication to the display is broken
The other approach is
Adafruit_BME280 bme(8, 7, 6, 5); bme.begin();
This variant causes a reset of the device. Any solution?