diff options
Diffstat (limited to 'tests/pyb/i2c_accel.py')
| -rw-r--r-- | tests/pyb/i2c_accel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/i2c_accel.py b/tests/pyb/i2c_accel.py index 8c74fa60e..8b87d406d 100644 --- a/tests/pyb/i2c_accel.py +++ b/tests/pyb/i2c_accel.py @@ -11,7 +11,7 @@ accel_addr = 76 pyb.Accel() # this will init the MMA for us -i2c = I2C(1, I2C.MASTER, baudrate=400000) +i2c = I2C(1, I2C.CONTROLLER, baudrate=400000) print(i2c.scan()) print(i2c.is_ready(accel_addr)) |
