A gesture sensor is a computing device that visually detects change in various hand gestures and sends signal accordingly.
Download the Gesture.zip file. Extract it into Documents-> Arduino-> libraries folder.
Now open Arduino IDE. Go to Files-> Examples-> Gesture and open Gesture_example code in IDE.
Now connect MYOSA motherboard to your computer. Go to Tools-> Board-> and choose Arduino/Genuino Mega or Mega 2560
Go to Tools-> port and choose COM on which board is connected.
Now upload your code to MYOSA motherboard by clicking upload button from toolbar.
open the Serial Monitor from Tools-> Serial Monitor
Now you can see the Gesture values on Serial Monitor.
To initialize the Gesture sensor:
g.begin();
Get the gesture values. The values given in the output are integer values.
int gest = g.getGesture() // Direction/Proximity of gesture
Gestures coresponding to integer values are as below: