ft6x06_TS_DetectTouch() function
Return if there is touches detected or not. Try to detect new touches and forget the old ones (reset internal global variables).
Syntax
uint8_t ft6x06_TS_DetectTouch(uint16_t DeviceAddr); Arguments
DeviceAddr
Device address on communication Bus.
Return value
: Number of active touches detected (can be 0, 1 or 2).