Code from Racer993 <http://raspberrypi4dummies.wordpress.com/> it will
be the base for the i2c control software