• 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

LVGL 3.1 Temperature not in color

Q&A Forum › Category: ESP32 › LVGL 3.1 Temperature not in color
0 Vote Up Vote Down
Sandy Parks asked 3 weeks ago

In module 2.6 I get colored widgets.  In module 3.1 I do not get colored text for the temperature reading.  I did put in Serial.println(s) to verify going through color selection code.  Got any ideas or can you point to another example of using colored text that I could try.

UPDATE: Not sure what I did, but I am now getting a color change for the text.  Just not the right color.  Blue is coming out Yellow, Red is coming out Blue and the Green looks like the same as the “Temperature” label (ie default).

LVGL 9.3.0

ESP Espressif 3.2.0

Question Tags: LVGL Colored text
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Hi.
It seems you have a slightly different board.
You probably have a board with two USB ports.
If that’s the case, you need to invert the colors. In the eBook, on page 90, we show two different options to fix the issue.

Also, on page 92 we show what to do if you have the board with two USBs.
 
Let me know if you can fix the issue.
 
Regards,
Sara

0 Vote Up Vote Down
Sandy Parks answered 2 weeks ago

Thank you for the quick, intuitive and accurate evaluation of my problem without calling me out for not realizing during the initial display test that my text was white on black and not the desired black on white.  I did in fact have 2 USB ports and a different driver.
It is refreshing to see a course that is aware and alerts to some common pitfalls ahead of time (even if I happened to overlook). Cannot say the same about some other vendor’s courses I have tried that don’t even work correctly with the components they supply and seem to lack quality assurance programs. Kudos to RNT.

0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Great.
So, were you able to fix the issue?
After setting the right configurations for that specific board, you shouldn’t have any other problems.
 
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.