hello,
trying to execute the “ESP32 CYD with LVGL: Display BME280 Sensor Data on a Table” code, but i replace BME 280 by a BMP280. The IDE tells all is done, but this message is displayed: …xtensa-esp-elf/bin/ld.exe: warning: _fixdfdi.o: missing .note.GNU-stack section implies executable stack
And my *CYD stay dark, nothing happened.
the previous tutorials were working all right.
could you help me please?
Pat
Hi.
Did you replace the required lines of code for using the BMP280?
Which library are you using for that sensor?
Regards,
Sara
Hi,
thanks for your answer, yes i replace the lines and use the Adafruit_BMP280 2.6.8 library and i adapt the Line 315 status = bmp.begin(0x76);
perhaps the library versions i use don t work togather.
i ll Check to install the ones you choice and Come back here
so i ve tried with the TFT_eSPI v2.5.34, Adafruit BusIO 1.17.4, Adafruit GFX 1.12.3, Adafruit Unified Sensor 1.1.15, Arduinojson 7.4.2, Adafruit BMP280 2.6.8, XPT2046 1.4, lv_arduino 3.0.1, and lvgl 9.4.0
and it s the same dark screen but on the monitor conected to the wifi, the sensor isn t found because i don t wire it so, it s what i ve got to do now.
i want to thank you (Sara and Rui) for your great tuto. I like them and learn a lot.
Patrick
sad it doesn t work, i invert the SCL and SDA connections but it s the same song. it is possible my BMP 280 card needs 5V?
Hi.
If the sensor is not recognized, the screen won’t display anything.
Can you run an I2C scanner sketch to check whether the sensor is recognized by the board and check its I2C address? It might use a different address than the default used by the library or the sensor may be faulty.
For an I2C scanner sketch you can check this tutorial (make sure you adjust the SDA and SCL pins):
ESP32: I2C Scanner (Arduino IDE) – Finding the Address of I2C Devices
Regards,
Sara