first of all, congratulations for this fantastic project !! i love it
I have a problem with TFT ILI9341 display
The displays works perfectly, and also the tft touch controller, but when I used the sample in the documentation of tft.checktouch().
tft.setup(16, 4, 3)
tft.touch.setup(15)
but1 = tft.obj.button("PUSH", 5,5,120,50,3)
chk1 = tft.obj.checkbox("Check Me", 5,100,40,1, 3)
lab1 = tft.obj.label("press", 0,190,200,24,3)
touchbranch [touchme]
wait
[touchme]
touch_obj = tft.checktouch()
serialprintln "checktouch " & touch_obj
if touch_obj = but1 then
tft.obj.invert(but1)
tft.obj.setlabel(lab1, "button")
end if
if touch_obj = chk1 then
tft.obj.setlabel(lab1, "checkbox")
tft.obj.invert(chk1)
end if
return
The axis coordinates are reversed and i can´t press any object, the coordinates of the object are in the opposite corner.
It is a tft problem?
Thank you