A promise wrapper for an I2C arm C library methods and a Device Class that is the base class for an I2C device