Stripped master i2c interrupt driven garbage in favor of simpler more robust code