removed sleeps and sleep dependency
Proper error and async calls to i2c with promises