Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:31 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : LILYGO T-Display RP2040

Author Message
JorgeOsv

Newbie

Joined: 02/12/2023
Location: Bolivia
Posts: 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 Kingdom
Posts: 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: Bolivia
Posts: 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 Kingdom
Posts: 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: Netherlands
Posts: 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: Bolivia
Posts: 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
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024