Revert "Revert "Make I2C buffer a global variable""

This reverts commit aa1afadabcdfeb6b4c9a4785b05da9d00c7e3705.