Search found 28 matches

by Jerremy09
Thu Nov 21, 2019 1:02 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Hmmm, why GPIO14? I thought that : IO14 - CS used by TFT display - used in ILI9341 IO12 - CS used by touch leyer of TFT display ----------------------------------------------------------------- #Setup import machine import xpt2046_syn2 import time spi = machine.SPI(1, baudrate=32000000, miso=machine...
by Jerremy09
Thu Nov 21, 2019 1:01 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

HEllo Thank you,

does it mean that IO14 should be 0?

I tested it with IO14 (1/0) and same result :-(

Roberthh - did you test the module also with another board that pyboard?

Jan
by Jerremy09
Thu Nov 21, 2019 12:38 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Hmmm, why GPIO14? I thought that : IO14 - CS used by TFT display - used in ILI9341 IO12 - CS used by touch leyer of TFT display ----------------------------------------------------------------- #Setup import machine import xpt2046_syn2 import time spi = machine.SPI(1, baudrate=32000000, miso=machine...
by Jerremy09
Thu Nov 21, 2019 11:26 am
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Hello Roberthh, I tested a high presure with same result (I do remember times of first touch PDA with resistive screens :-)) (nail test also didnt work and I received same values), unfortunatelly didnt helped. I tried to change TFT display (I have 2 LOLIN TFT 2.4). ----------------------------------...
by Jerremy09
Thu Nov 21, 2019 9:16 am
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Sorry I dont know how to add picture.

Current result is "none"
After change is "(512, 128)" even if I touch or not touch the screen

Jan
by Jerremy09
Thu Nov 21, 2019 9:15 am
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Hello Roberthh,

you are right, with previsou settings I receive "none" as result:
[img]C:\Users\CZ011845\Desktop\ts_cs_value_0.png[/img]

and if I change the value to be I receive this:
[img]C:\Users\CZ011845\Desktop\ts_cs_value_1.png[/img]
- this I receive even if I touch / nontouch the screen.

Jan
by Jerremy09
Wed Nov 20, 2019 1:48 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19475

Re: xpt2046

Hello all, I would like to ask you for help within my issue related to touch screen "Lolin TFT 2.4 " connected to "Lolin d32 pro 2.0.0". I connected it according to producer sheet (TFT cable - documentation ), but unfortunatelly Im not able to get a single touch from screen. I bet that my code is no...
by Jerremy09
Wed May 08, 2019 7:47 am
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 7
Views: 7959

Micropython Language for VS Code

Hello all,

I would like to ask if there is some posibility to add directly "Micropython" language into VS Code with linghter? Currently I use Python with Pylint, but it would be nice to have directly Micropython insiide.

Thank you

Jan