i80_controller example help

enthusiastSR
Posts: 11
Joined: Thu Oct 14, 2021 2:56 pm

i80_controller example help

Postby enthusiastSR » Wed Mar 09, 2022 1:58 pm

Hello,

First question:
I am trying to build the i80_controller example, but it fails to find the "lvgl.h" header file.
https://github.com/espressif/esp-idf/tr ... controller

I tried integrating using CMakeLists, make and CMake, as stated in the READ ME:
https://docs.lvgl.io/master/porting/index.html.

Second question:
I am trying to use 8-bit 8080 Interface, with this I have configured CS, DC, RD, WR, RESET and 8 data lines DATA0 to DATA7 in my hardware. But in the example I find configurations for EXAMPLE_PIN_NUM_BK_LIGHT and EXAMPLE_PIN_NUM_PCLK, where PCLK is confiured as wr_gpio_num. I am slightly confused with configuring my hardware. Am I in the right direction?

Can someone please help me with this?

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: i80_controller example help

Postby ESP_morris » Thu Mar 10, 2022 6:44 am

The LVGL examples in esp-idf are all based on component manager, you can check the idf_component.yml file in the example project.

See doc about component manager here https://docs.espressif.com/projects/esp ... nager.html

Yes, the PCLK is also referred as the "WR" line one the LCD module. Please don't forget to put the "RD" line to high level.

enthusiastSR
Posts: 11
Joined: Thu Oct 14, 2021 2:56 pm

Re: i80_controller example help

Postby enthusiastSR » Fri Mar 11, 2022 8:06 am

Thank you very much ESP_morris.

I was trying to add lvgl explicitly since the compiler couldn't find the path earlier. Now I know how component manager works.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 97 guests