405 Documentation  9.0
touchy.py File Reference

Placement on touchscreen. More...

Classes

class  touchy.touchy
 Tells where it is being touched. More...
 

Detailed Description

Placement on touchscreen.

Initializes a touchy class. Takes readings of where the attached touchscreen is being touched. Returns values for x location, y location, and whether or not the screen is even being touched. Average time to run the method that retreived the x coordinate, y coordinate, and z boolean ended up being about 1227 microseconds, well bellow the given threshold of 1500 for all three. I will attach a picture of my setup and an example of the putty window where I got my results. In the picture there are four outputs: the first is the x coordinate of where the screen is being touched, the second is the y coordinate of where the screen is being touched, the third is the z boolean which tells whether or not the screen is being touched, and the fourth is a tuple that presents the x coordinate, y coordinate, z coordinate, and the overall timing that it took to take those three measurements (in microseconds).

Author
Jacob Everest
Date
Mar. 1, 2021