• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Example code compiles and uploads but no output on CYD.

Q&A Forum › Category: ESP32 › Example code compiles and uploads but no output on CYD.
1 Vote Up Vote Down
patrick viala asked 3 days ago

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

Question Tags: ESP32 CYD
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 days ago

Hi.
Did you replace the required lines of code for using the BMP280?
Which library are you using for that sensor?
Regards,
Sara

0 Vote Up Vote Down
patrick viala answered 2 days ago

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 

0 Vote Up Vote Down
patrick viala answered 17 hours ago

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?

0 Vote Up Vote Down
Sara Santos Staff answered 17 hours ago

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
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Smart Home with Raspberry Pi, ESP32, and ESP8266 V1.6 September 9, 2025
  • [eBook Updated] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.