new i2c function; conversion to native js