Do I need this pin? ST7789 DC pin?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 285
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 81 times
Been thanked: 60 times

Do I need this pin? ST7789 DC pin?

Post by MJU20 »

I've got a LilyGo T8 V1.1 board with a ESP32-S2 chip and a ST7789 display onboard.

In the properties for the ST7789 display I can not disable the DC pin
st7789-1.jpg
st7789-1.jpg (67.35 KiB) Viewed 2380 times
The board doesn't seem to have a DC pin attached to the display.
The display isn't working maybe because of this non existing pin?

Image

Any ideas about this problem?

mnfisher
Valued Contributor
Posts: 1213
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 118 times
Been thanked: 622 times

Re: Do I need this pin? ST7789 DC pin?

Post by mnfisher »

The display does use a D/C pin (to select data or command)
They have maybe missed it from the diagram?

medelec35
Matrix Staff
Posts: 1610
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 567 times
Been thanked: 531 times

Re: Do I need this pin? ST7789 DC pin?

Post by medelec35 »

Hello.
I have read that the documentation has errors.
Can you try the following:
CS - 34 (B2)
DC - 37 (B5)
RST - 38 (B6)
LED BL - 33 (B1)
MOSI - 35 (B3)
CLK 36 (B4)
MISO -Any unused pin as not used.


I have not got the hardware to confirm the above connections, So I can't guarantee it will work.
Martin

MJU20
Posts: 285
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 81 times
Been thanked: 60 times

Re: Do I need this pin? ST7789 DC pin?

Post by MJU20 »

Thank you both!!

But this doesn't work either..
It seems that the DC pin is not used on the display?

Strange because fresh out of the box it works by showing the LilyGo logo on the screen..
st7789.jpg
st7789.jpg (98.78 KiB) Viewed 2347 times

Post Reply