Datasheet
7
Example 2:
a) Open the example via Arduino Menu 'File > Examples > Seeed_QTouch-master ->
Grove_QTouch_demoCode....’
b) Upload the code.
c) Open the Serial Monitor.
d) Touch and release the Lychee; The Serial Monitor would display the duration of touch as in the screenshot
below.
Example 3:
a) Open the example via Arduino Menu File > Examples > Seeed_QTouch-master > getTouchNumber
b) Upload the code.
c) Open the Serial Monitor.
d) On touching the Lychee, the Serial Monitor would display the Key that is connected, as in the screenshot
below. One can connect the fruit to any other Key and verify.