You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - and thanks in advance for any help you can give.
I have an RPI touch display with ILI9486 TFT and XPT2046 Touch screen. When programmed with the Arduino IDE in C++ and TFT_eSPI, both the display and the Touch screen work fine. I am using an esp32 WROVER-B
I have pulled and compiled lvgl_micropython this morning (2024/13/01) using the following:
However I cannot get anything out of the display using the sample code and don't know how to get it to do something apart from power on (white screen).
This is the content of the User_setup.h from the TFT_eSPI file used for the Arduino Code:
egrep -e '^[^/]' ./libraries/TFT_eSPI/User_Setup.h
#define USER_SETUP_INFO "User_Setup"
#define RPI_ILI9486_DRIVER // 20MHz maximum SPI
#define TOUCH_CS PIN_D2 // Chip select pin (T_CS) of touch screen
#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 4 // Reset pin (could connect to RST pin)
// Use an Arduino pin for initial testing as connecting to processor reset
// may not work (pulse too short at power up?)
#define LOAD_GLCD // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH
#define LOAD_FONT2 // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters
#define LOAD_FONT4 // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters
#define LOAD_FONT6 // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters 1234567890:-.apm
#define LOAD_FONT7 // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters 1234567890:-.
#define LOAD_FONT8 // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters 1234567890:-.
#define LOAD_GFXFF // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts
#define SMOOTH_FONT
#define SPI_FREQUENCY 20000000
#define SPI_READ_FREQUENCY 20000000
#define SPI_TOUCH_FREQUENCY 2500000
And the content of the .py I am trying to run at the REPL prompt:
The program runs cleanly with no errors but seems to do nothing except when I use the indev.calibrate which produces no display output but accepts touch inputs.
Frankly, apart from having read numerous discussions on similar issues on other boards, I don't know how to try to fix this. I have tried different combinations of options but don't know which is correct, and none of them have seemingly worked. There is no change at all in the display after it has powered on. No flicker or anything.
The touch screen works fine and (without UI prompts) I can click the screen and input is taken when I use indev.calibrate.
I believe I have the same values for the LVGL code as I do for the C++ code. I am hoping someone can tell me what I am missing.
Thanks again,
Moz
The text was updated successfully, but these errors were encountered:
Hi - and thanks in advance for any help you can give.
I have an RPI touch display with ILI9486 TFT and XPT2046 Touch screen. When programmed with the Arduino IDE in C++ and TFT_eSPI, both the display and the Touch screen work fine. I am using an esp32 WROVER-B
I have pulled and compiled lvgl_micropython this morning (2024/13/01) using the following:
and it compiled just fine.
And it Flashes and gives the REPL prompt just fine.
However I cannot get anything out of the display using the sample code and don't know how to get it to do something apart from power on (white screen).
This is the content of the User_setup.h from the TFT_eSPI file used for the Arduino Code:
And the content of the .py I am trying to run at the REPL prompt:
The program runs cleanly with no errors but seems to do nothing except when I use the indev.calibrate which produces no display output but accepts touch inputs.
Frankly, apart from having read numerous discussions on similar issues on other boards, I don't know how to try to fix this. I have tried different combinations of options but don't know which is correct, and none of them have seemingly worked. There is no change at all in the display after it has powered on. No flicker or anything.
The touch screen works fine and (without UI prompts) I can click the screen and input is taken when I use indev.calibrate.
I believe I have the same values for the LVGL code as I do for the C++ code. I am hoping someone can tell me what I am missing.
Thanks again,
Moz
The text was updated successfully, but these errors were encountered: