Author |
Message |
JorgeOsv
Newbie
Joined: 02/12/2023 Location: BoliviaPosts: 3 |
Posted: 10:09am 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
Good morning, I'm new to the forum, I'm returning to the basics of my youth. Picomite is great. What I have not been able to make work is the ST7789_135 screen of the LILYGO T-Display RP2040 which has a configuration mosi=GP3, sclk=GP2, cs=GP5, dc=GP1, rst=GP0, bl=GP4. Any help or suggestion is valid since it is a very economical board. THANK YOU |
|
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 9119 |
Posted: 10:17am 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
Option system spi gp2,gp3,gp16 option lcdpanel ST7789_135,L,GP1,gp0,gp5,gp4 |
|
JorgeOsv
Newbie
Joined: 02/12/2023 Location: BoliviaPosts: 3 |
Posted: 10:45am 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
OPTION SYSTEM SPI GP2,GP3,GP16 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION LCDPANEL ST7789_135, LANDSCAPE,GP1,GP0,GP5,GP4
Thanks for the quick reply. This is how I have it configured without any results, what could I be missing? |
|
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 9119 |
Posted: 10:52am 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
Try BACKLIGHT 50. Sometimes they invert the backlight signal. If you get a picture with that set the default backlight to 0 |
|
JanVolk Senior Member
Joined: 28/01/2023 Location: NetherlandsPosts: 144 |
Posted: 09:08pm 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
Possibly there are multiple versions of the LILYGO T-Display RP2040 in circulation? The one I own is the LILYGO T-Display RP2040 2021-7-22 V1.1 with ST7789V 240x135 display and it works with the following connections: GP03=MOSI GP02=SCLK GP05=CS GP01=DC GP06=RST GP04=BL GP22=PWR
OPTION SYSTEM SPI GP2,GP3,GP0 ' CLK,MOSI,MISO OPTION LCD PANEL ST7789_135, LANDSCAPE,GP1,GP6,GP5,GP4
Program: SETPIN GP22, DOUT PIN(GP22) = 1 ' POWER EN = 1 BACKLIGHT = 10 ' BACKLIGHT 0-100 0 = OFF TEXT 0.0, "Hello World"
Jan. |
|
JorgeOsv
Newbie
Joined: 02/12/2023 Location: BoliviaPosts: 3 |
Posted: 09:38pm 10 Dec 2023 |
Copy link to clipboard |
Print this post |
|
Thank you very much Jan, it has been a great help, now it works and I can continue with my project |
|