Share this example!

Share this example with your friends on your favorite profile:

You can easily embed this example to your blog or website by copying the following code:

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/example/ZX_Sensor/I2C_Gesture_Demo" frameborder="0"></iframe>


You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>



  • 2016-07-13 codebender

    Hey there, unfortunately I can't help you implement the TAP gesture. The gesture speed might be useful, depending on the application you're building. It doesn't seem to be of any use, other than reporting in this example. As for the missing gesture, I noticed that they've removed some "unused" gestures here https://github.com/sparkfun...
    If you want to use any of the deprecated gestures, you could hack the library code and then add it to your personal libraries.

  • 2016-07-12 Joachimum

    I see that there are separate demos to read gestures and to capture the ZX position, so I wonder if both can be read one after the other.

    I am missing a simple TAP gesture (hand on sensor and quickly removed) and I also wonder if that could be easily implement and how.

    What is the gesture speed meant for?

    In the demonstration video posted at Sparkfun I can see that there are 5 gestures (the 2 swipes, RIGHT and LEFT, plus the "hover and move" gestures UP, LEFT-UP and RIGHT-UP. This library only implements 3 gestures, what happened to the missing gestures?

  • 2016-02-16 codebender

    This example was tested on 2016-06-11 and it compiles on Arduino Uno, Arduino Leonardo, Arduino Mega.