Robot Movement by Hand Gesture

Program ESP8266 with Arduino IDE for convenience. ADXL345 accelerometer communicates using I2C protocol. I’ve used ESP8266-01, in later versions of ESP we have dedicated pins for I2C bus to communicate with ADXL345. But in ESP8266-01 we can use any of the 4 GPIO pins for I2C, here I’ve used GPIO 0 and GPIO 2, since GPIO 1 and GPIO 3 (Tx & Rx) will be used for debugging.”