Comments (5)
Hi,
It should be specific to the display. Probably your display needs '0' on the backlight pin to enable it.
from lv_port_esp32.
Hi,
I'm Carlos at the forum and found the same issue [1], maybe we can add some options so the users can define it's board inside a component.mk
on the drv directory like so:
// Uncomment the line with your board:
CFLAGS+=-DESP32_BOARD=ESP32_WROVER_KIT
//CFLAGS+=-DESP32_BOARD=ESP32_30GPIO_KIT
This will make the following code set the correct level of the BCLK pin on the user board:
#if (ESP32_BOARD==ESP32_WROVER_KIT)
gpio_set_level(ILI9341_BCKL, 0)
#else // Other boards
gpio_set_level(ILI9341_BCKL, 1)
#endif
This can also help assign the right pins on this board or any board with hardwired LCDs.
What do you think?
[1] Lvgl in ESP-WROVER-KIT v4.1
from lv_port_esp32.
Hi Carlos,
Sounds good!
If there is no obsctacle we can use the Wrover Kit's pins as default. On Wroom32 modules, we can use any pins so we can be compatible with the Wroomkit by default.
Maybe the TP's SPI could be an issue because I saw that you need to use the SPI in half-duplex mode to achieve 40 MHz.
from lv_port_esp32.
The Wrover kit doesn't have a touch screen, it's just the TFT display, I got the code ready for a pull request but I'm waiting for my other PR to get merged. The TFT on the Wrover kit is 340x240, where should I update the code for this?
from lv_port_esp32.
The Wrover kit doesn't have a touch screen, it's just the TFT display,
Great, then it won't be an issue.
I'm waiting for my other PR to get merged.
Just merged 🙂
The TFT on the Wrover kit is 340x240, where should I update the code for this?
It should be changed in lv_conf.h
(LV_HOR/VER_RES_MAX).
from lv_port_esp32.
Related Issues (20)
- Cannot build project with LVGL as component HOT 1
- SPI display drivers do not play nice with other spi devices
- esp32-s3 invalid dma channel HOT 1
- Portrait mode of demos doesn't display correctly
- The link to the forum when you write a PR/issue is incorrect HOT 1
- build with esp-idf-4.4.3 fails HOT 1
- failed to run idf.py menuconfig HOT 3
- updated LVGL+squareline studio+ ESP32 HOT 2
- Demo on older esp-wrover-kit board ( not v4.1) HOT 2
- Display not showing the correct windows while running this example HOT 2
- Sunton ESP32-8048S070 board HOT 8
- How can I add my own components to the project
- Unable to compile on esp-idf version 5.0 HOT 4
- undefined reference to `lv_obj_set_scroll_propagation'
- Cant turn off LV_USE_FLEX
- Horizontal scrolling HOT 4
- fatal error: Arduino_H7_Video.h: No such file or directory
- ESP32C3 - non-LVGL task (temp reading) causes TFT display to go blank and stay blank on second run of task HOT 1
- ssd1306 driver
- ssd1306
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_port_esp32.