Figure 9In this flow diagram for figures 3, 4, and 6, the controller continuously scans the touchscreen, detects the touch, and sends out a five-byte data packet.