Learning about I2C and datalogging