Added i2c and digital pot code.