Tough Touch Help!
-
I'm trying to read touches on the Tough screen, but when I start the code, it already comes with values โโof X (52) and Y (154) as if there was a touch.
By chance, it's exactly in the area where I expect it to be touched...
When I read the data in:
I get the following response: (52.0, 0.0, 154.0, 0.0)
I'm trying to read the touch like this:

Thank You!
-
I noticed that if I turn Tough off and on again, the initial coordinates are -1 and 1, but if I just load a new version of the code, the last coordinates remain...
How could I clear the coordinates at the beginning of the code?I also couldn't use the following block:

Thanks for any help!
-
Hello @cryptospok
please find an example in the UIFlow2 Project Zone: M5ToughTouchTest_UIFlow2.1.7 showing how to get rid of old / duplicate touch events.
Thanks
Felix -
Thanks again, you're the M5man!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register Login