added function for setting i2c module on