Revert "update and fix I2C library"

This reverts commit 7b268014e71c66acbfcc4fb817fe967fcfc71876.