Revert "Make I2C buffer a global variable"

This reverts commit 94cfa2c24a082ac270649461a6be55c05821f407.