Ok, I understand.
However, I tried to modify the Adafruit_BME280.cpp but nothing change. I'm using Visual Studio Code and the Adafruit_BME280.cpp to modify should be contained at the path ".pio\libdeps\esp32doit-devkit-v1\Adafruit BME280 Library", is this correct?.
I modified the following ...
Search found 3 matches
- Thu Aug 28, 2025 4:56 pm
- Forum: ESP32 Arduino
- Topic: Adafruit BME280 SPI frequency
- Replies: 4
- Views: 1924
- Thu Aug 28, 2025 7:41 am
- Forum: ESP32 Arduino
- Topic: Adafruit BME280 SPI frequency
- Replies: 4
- Views: 1924
Re: Adafruit BME280 SPI frequency
Hi Ibernstone, thanks for the answer.
Is this the only way to change the frequency? Is there a function that allows to override the frequency without directly modifying the Adafruit BME280 library?
Regards
Is this the only way to change the frequency? Is there a function that allows to override the frequency without directly modifying the Adafruit BME280 library?
Regards
- Wed Aug 27, 2025 1:57 pm
- Forum: ESP32 Arduino
- Topic: Adafruit BME280 SPI frequency
- Replies: 4
- Views: 1924
Adafruit BME280 SPI frequency
Hi all.
I'm using an ESP32 DOIT DEVKIT V1 development board and the BME280 sensor. Below is the code for reading temperature, pressure, and humidity data via SPI. The code uses the "Adafruit BME280" libraries and works correctly, but the SPI frequency is fixed at 2 MHz. I'd like to know how to ...
I'm using an ESP32 DOIT DEVKIT V1 development board and the BME280 sensor. Below is the code for reading temperature, pressure, and humidity data via SPI. The code uses the "Adafruit BME280" libraries and works correctly, but the SPI frequency is fixed at 2 MHz. I'd like to know how to ...