-
Notifications
You must be signed in to change notification settings - Fork 43
Black screen #31
Comments
So youre saying, that the LCD is working with just TFT_eSPI examples, but not with lv_arduino examples? |
Display: 2.8" SPI ILI9341 Almost same as - #4 (comment) |
Are you using the same user_setup from TFT_eSPI examples with lv_arduino one? Can you please try the simplest lv_arduino example first (just label on the screen)? Which version on lv_arduino are you using? |
Same result with simple label example - No lvgl function works. using - https://github.com/littlevgl/lv_arduino
For ensuring that bodmer TFT_SPI and SPI conf is working I just add - tft.fillRect(20, 20, 100, 100, TFT_RED); // at the end of setup() and the red rectangle drawn perfectly but lvgl label does not work.
|
So you are not using any version, installed by the Library manager? Can you please check, if older version of the library works with your LCD? You can get V2.0.3 from releases page. |
I replace the library with https://github.com/littlevgl/lv_arduino/releases/tag/2.0.3 but still no luck. I'm attaching the code and lvgl_config.h I'm using ESP32 VSPI bus and backlit led directly connected with 3v3 vcc. |
Well, it seems like I'm short of ideas what to do next... Can you please test it again with TFT_eSPI version 1.4.11? This is the version I've used. |
I updated TFT_eSPI to latest v1.4.20 (previously was 1.3.10) and its now working! Thanks a lot! |
Only getting Grey-black screen although touch is working properly.
I tested with custom design graphics and touch settings with core bodmer lib which are working perfectly.
Even if in the lvgl example (TFT_ESPI_SLIDER) code I can use bodmer TFT_ESPI object and draw rect properly but lvgl code (slider, label) is not working any how.
Picture with default slider example
![Default_lvgl_slider_example](https://user-images.githubusercontent.com/36029934/72044769-ad4d3900-32da-11ea-9b37-cf5a48dfc41a.jpeg)
Picture with default slider example and blue fill screen and red rectangle draw using Tft_Espi object before and after lvgl code.
![Slider__example_with_custom_code](https://user-images.githubusercontent.com/36029934/72044881-e08fc800-32da-11ea-93d6-1c76e8fdf505.jpeg)
When I Touched the screen the following data is appeared also -
Data x110
Data y103
Slider Pressed
SliderSliderSlider Short clicked
Slider Clicked
Slider Released
Data x132
Data y96
Slider Pressed
SliderSliderData x129
Data y93
SliderSliderSlider Short clicked
Slider Clicked
Slider Released
Please guide me if anything I'm missing.
The text was updated successfully, but these errors were encountered: