20
Adjust Touch Sensitivity
We can make the test by using a banana as keyboard – it will respond to a touch very fast.
However, conductivity varies among different objects, which may affect the touch sensitivity.
Open the handle.ino file, go to line 3
int TouchSensitivity = 30
, in which
TouchSensitivity
represents the sensitivity of the
FruitKey
. The lower the value is, the more sensitive it will be.
Adjust Responding Times
You may have found out in the previous experiment that once you touch that conductive
object, it will respond for more than one time. For example, when you touch
O
once, several As
will appear, which can cause a trouble sometimes.
You can try to modify the delay value in the code to solve the problem. The bigger the value is,
the longer the responding time will be. Since different conductive stuffs vary in responding time,
you can modify the value according to actual situation.
After the adjustment is ok, we can play games then.
SunFounder