Display driver for TTGO LilyGo T7789 1.14 " Led Screen (see #576) #601
Replies: 9 comments 9 replies
-
|
Your message does not indicate what JSON element in the manifest the registers above are contained in. It could be: Or If it is |
Beta Was this translation helpful? Give feedback.
-
|
"defines": { |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. So you need to add the |
Beta Was this translation helpful? Give feedback.
-
|
Clock example freeezes at line 38: render.end() Manifest.json: { |
Beta Was this translation helpful? Give feedback.
-
|
I suggested you add a line at the end of the The $MODDABLE/examples/commodetto/clock example works as expected on Moddable Two and the simulator. This does not appear to be an issue with the Moddable SDK but, instead, a request for help using the ILI9341 (MIPI) display driver with another display. Therefore, I'm moving this from Issues to Discussions. |
Beta Was this translation helpful? Give feedback.
-
|
I have added 0xff,0 to the register-section. Still the examlpe freezes at the render.end() function. |
Beta Was this translation helpful? Give feedback.
-
|
I have changed the width to 240 and the height to 135, and now the render.end() doesn't freeze the ESP32. However the render.end() call swichtes the screen off. |
Beta Was this translation helpful? Give feedback.
-
|
Looking at the registers closely, I see in This particular driver configuration is for a 240 x 320 screen. This was translated to the Moddable registers as: Since this display is 240 x 135, we'll need to change these to something like Or depending on how the display was made, maybe it is 135 x 240: There may be other registers that need changing - the ST7789 is a driver chip, not a screen, so it can be used in a variety of ways. The Moddable SDK does support ST7789, but probably not in every use of that chip. For example, this 240 x 135 IPS display may be the same as on the LilyGo? It works with these registers: See Is there sample code with the TTGO LilyGo T7789? A working set of example code would be the go-to source for which registers will work for that particular ST7789/display combination. |
Beta Was this translation helpful? Give feedback.
-
|
The TTGO display device is a little hard to come by. It arrived today. Please try the following files. Put them in a folder in |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since the last conversation I have tried to use the info from TFT-ESP project.
The setup-file is: Setup25_TTGO_T_Display.h
And the init file: ST7789_Init.h
So I have updated the register-settings as follows:
[
"0x11, 0,",
"0xff, 120,",
"0x13, 0,",
"0x36,1,0x08,",
"0xb6,2,0x0a,0x82,",
"0x3a,1,0x55,",
"0xff,10,",
"0xb2,5,0x0c,0x0c,0x00, 0x33,0x33,",
"0xb7,1,0x35,",
"0xbb,1,0x28,",
"0xc0,1,0x0c,",
"0xc2,2,0x01,0xFF,",
"0xc3,1,0x10,",
"0xc4,1,0x20,",
"0xc6,1,0x0f,",
"0xd0,2,0xa4,0xa1,",
"0xe0,14,0xd0,0x00,0x02,0x07,0x0a,0x28,0x32,0x44,0x42,0x06,0x0e,0x12,0x14,0x17,",
"0xe1,14,0xd0,0x00,0x02,0x07,0x0a,0x28,0x31,0x54,0x47,0x0e,0x1c,0x17,0x1b,0x1e,",
"0x21,0,",
"0x2a,4,0x00,0x00,0x00,0xE5,",
"0x2b,4,0x00,0x00,0x01,0x3F,",
"0xff,120,",
"0x29,0,",
"0xff,120,"
]
However it crashes immediately, when calling the config.Sreen({})
Beta Was this translation helpful? Give feedback.
All reactions