P095 With 1.4 TFT shield

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

P095 With 1.4 TFT shield

#1 Post by Grumpf » 06 Aug 2020, 11:07

Hi, I was looking through the code of P095 to see if it was possible to redefine the size of the TFT to accomodate the 1.4 version (128X128) but couldn't figure it out. The plugin works with it (https://docs.wemos.cc/en/latest/d1_mini ... t_1_4.html) but half of the screen is garbage.

Thanks,

Also, what does TS_CS stand for ?

Grumpf.

User avatar
Ath
Normal user
Posts: 3509
Joined: 10 Jun 2018, 12:06
Location: NL

Re: P095 With 1.4 TFT shield

#2 Post by Ath » 06 Aug 2020, 11:33

P095 is meant to drive a ILI9341, not the ST7735s, and I'm not sure how compatible these chips are.

The TS_CS should be a chip-select signal, to be able to have multiple displays on the same SPI bus, but I don't know if that is supported by ESPEasy (don't own that type of display, so can't test)
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8749
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: P095 With 1.4 TFT shield

#3 Post by TD-er » 06 Aug 2020, 11:39

I think that's a left-over for touch screen support in the code.
TS_CS sounds like "Touch Screen Chip Select"

With SPI communication you have 2 data pins (input: MISO and output: MOSI), a clock and one chip select to each device connected to the same SPI bus to signal if the communication is meant for that device.

So if a display and a touch screen is connected to the same device, you need 2 CS pins to talk to either of them.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests