Some Errors: ImportError: no module named 'pyb' ( so I replaced pyb with machine ) AttributeError: type object 'I2C' has no attribute 'MASTER'