Added code for communicating with beaglebone based on i2c slave communication