M5Stack Core2 V1.1 Display Problem

Recurrent H/W and software problems
Post Reply
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

in the config -> landscape
User avatar
cicciocb
Site Admin
Posts: 2080
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 445 times
Been thanked: 1369 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

And this is correct ?

In landscape I should expect
x = 0, y = 0 on the top left and x = 319, y = 239 on the bottom right

edit :
Does X and Y moves correctly or are reversed ?
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

do i have to do a calibration?
User avatar
cicciocb
Site Admin
Posts: 2080
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 445 times
Been thanked: 1369 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

I suppose that the coordinates are reversed.
I need to know it before making the change

NO, the calibration is not required (and not available)
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

'test 2

tft.fill orange
TFT.TEXT.FONT 4
TFT.TEXT.SIZE 1
TFT.TEXT.COLOR black, orange
TFT.TEXT.POS 10, 10
TFT.Print "...Startup"

TFT.TEXT.COLOR black, orange

do
touch.read


TFT.TEXT.POS 10, 30
TFT.Print "Touch X="+str$(touch.x)+" Y="+str$(touch.y)+" "

TFT.CIRCLE touch.x, touch.y, 5, blue,1

loop
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

this is my test-program
User avatar
cicciocb
Site Admin
Posts: 2080
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 445 times
Been thanked: 1369 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

Yes but I still miss an answer. Does X and Y are reversed or not ?
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

you have to swap x and y first

and maybe there is a offset because on the right side i have -75
User avatar
cicciocb
Site Admin
Posts: 2080
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 445 times
Been thanked: 1369 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

OK, try again. This should be the last one :lol:
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

IMG_9837.mov
You do not have the required permissions to view the files attached to this post.
Post Reply