FT6206 Library for Adafruit 2.8" TFT Touch Shield for Arduino w/Capacitive Touch
Dependents: ArchPro_TFT ATT_AWS_IoT_demo_v06 ArchPro_TFT TermProject
Diff: FT6206.cpp
- Revision:
- 1:43274ec89d1a
- Parent:
- 0:d146e986a07f
- Child:
- 2:35e21af6733c
--- a/FT6206.cpp Mon Mar 23 19:49:52 2015 +0000 +++ b/FT6206.cpp Mon Mar 23 19:54:30 2015 +0000 @@ -13,6 +13,18 @@ Written by Limor Fried/Ladyada for Adafruit Industries. MIT license, all text above must be included in any redistribution ****************************************************/ +/* +Ussage: + + while(1) { +// if (FT6206.touched()) { + if (FT6206.dataReceived()) { + // Retrieve a point + TS_Point p = FT6206.getPoint(); + printf("Touch %3d %3d\n", p.x, p.y); + } + } +*/ #include "FT6206.h"