Change function constrain and function proportion in weioApi.js and add I2C in weioIO.py