• 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

From E-Book Learn LVGL

Q&A Forum › Category: Arduino › From E-Book Learn LVGL
0 Vote Up Vote Down
Manfred Hämmerle asked 11 months ago

3_2_Bars_Temperatur_Humidity_BME268.ino there are Compilation errors
266 | I2CBME.begin(I2C_SDA, I2C_SCL, 100000); error: call of overloaded ‘begin(int, int, int)’ is ambiguous
Is there a solution for this error?

Question Tags: Adafruit_BME280.h
11 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Hi.
What is the ESP32 core version you have installed in your Arduino IDE?
Go to Tools > Board > Boards Manager > Search for ESP32 and check the version you have installed.
Regards,
Sara

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

Hi Sara,
Installed Versions:
Arduino: 2.3.3
ESP32 3.0.5. 
To this moment in chapter 3 all the lessons from the LVGL-book compiled very slow but without errors and did what they should do. Great work. New in lesson 3 of the book is the use of Adafruits BME-lib (2.2.4) and Unified Sensor-lib (1.1.14). I used the newest ones, but did not compile without errors.  
Sorry I wanted only know about problems with the newest versions of the Adafruit BME-libs. But it seems that you dont know anything about that. Sorry for using your time.

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Hi.
What board model are you selecting in Tools > Board?
I just tested the code and it is compiling just fine.
Did the previous project (3.1) compile without issues?
Regards,
Sara

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

I have a DOIT-DEVKIT-V1-Board with a red LCD-Board in action.
You are right with the 3.1. But I have left byside this and only read the Booktext. and went forward the 3.3
The errors definitely have to to with de Adafruit-Libs. If I am sitting at the program I will test it. 
 

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

You tested the code and he compiled well, so I am sure the problem is in my Installation. I will try a new Arduino.Installation with all the necessary libs. I will give you a reaction. 
Regards
Manfred 

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

You tested the code and he compiled well, so I am sure the problem is in my Installation. I will try a new Arduino.Installation with all the necessary libs. I will give you a reaction. 
Regards
Manfred 

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

How did you install the libraries?
Regards,
Sara

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

Hello Sara,
with the new installation of Arduino (renamed the old workspace and did a installation of all necessary libraries) all the Sketches from the book till 3.5 compiled without problems. Only the Sketch 3.3 was too large for my DOITDEVKITV1.  Surely should do with a stronger Chip (perhaps a S2-Chip) or another partition scheme. I have tested to take as Board “ESP32 Dev Module”. Because there are more possibilities for the Partition Scheme. The Sketch 3.3 compiled without problems, but the display stayed dark. But I will not give up, because the ESP32 has inough power to do it.
What I have learned from that: Doing a big new projekt only with a clean new Arduino-Workspace and a clean library. Being very careful with manipulations in the library itself. 
Thank you for your help and your patience.
Manfred

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Hi.
For the sketch to big option, there are instructions in the eBook on how to proceed. 
 in Arduino IDE go to Tools > Partition scheme > choose anything that has more than 1.4MB APP, for example: “Huge APP (3MB No OTA/1MB SPIFFS“.
 
If the display continues dark, it is probably because the sensor is not wired properly. Please double-check the wiring.
Regards,
Sara

0 Vote Up Vote Down
Manfred Hämmerle answered 11 months ago

I wrote in my last post: The Sketch 3.3 compiled without problems, but the display stayed dark.  Today the Serial Monitor showed the reason. The Sketch couldn’t find the SSID, because of a typographical error. It stayed dark.
At last: it works.
Once more: Thank you for your help and your patience.

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Great.
I’m glad the issue is solved.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025
  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 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.