This driver allows the nucleo to gather position data from the touch panel. More...
Classes | |
| class | Touch_Panel_Driver.Touch_Panel |
This driver allows the nucleo to gather position data from the touch panel.
This file defines the Touch_Panel class which has five methods. Methods include init, Scan_x, Scan_y, Scan_z, and get_pos. By using the provided methods the user can determine if anything is in contact with the touch panel and the location of that contact. The image below shows the wiring and soldering setup of the touch panel used when testing for this driver.
The image below shows the average time to use the get_pos method after looping it 100 times. Testing code was written at the bottom of the program to generate this data.