a = arduino('COM8', 'Uno', 'Libraries', 'I2C');
mma = device(a, 'I2CAddress', '1D');
writeRegister(mma, 0x2A, uint8(0x01));
clear a mma