Data Sheet
9/25/2015 GroveGesturev1.0Wiki
http://www.seeedstudio.com/wiki/Grove__Gesture_v1.0 5/10
GestureLibrary
WehavecreatedalibrarytohelpyoustartplayingquicklywiththeSeeeduino/Arduino,in
thissectionwe'llshowyouhowtosetupthelibraryandintroducesomeofthefunctions.
Setup
1. DownloadthelibrarycodeasazipfilefromtheGesture_PAJ7620githubpage.
(https://github.com/Seeed-Studio/Gesture_PAJ7620)
2. Unzipthedownloadedfileintoyour…/arduino/libraries.
3. Renametheunzippedfolder"Gesture"(or:"Gesture_PAJ7620")
4. StarttheArduinoIDE(orrestartifitisopen).
SimpleDemo
Thefollowingsimpledemowillshowyouaveryeasyapplication:Whenyoumoveup,the
redledwillbeturnedon,otherwisetheredledwillbeturnedoff.
#include<Wire.h>
#include"paj7620.h"