diff options
| author | Daniel Campora <daniel@wipy.io> | 2015-09-14 19:38:28 +0200 |
|---|---|---|
| committer | Daniel Campora <daniel@wipy.io> | 2015-09-16 10:10:35 +0200 |
| commit | 0e52d9860adc2d3d7328c649f3b6995ffc04fc63 (patch) | |
| tree | b4ec7f404aebcb4b8bded450332a855744748e41 /tests/wipy/i2c.py | |
| parent | aba75e12330d8e80b2d909ace0a419de85774317 (diff) | |
tests/wipy: Improve I2C tests.
Diffstat (limited to 'tests/wipy/i2c.py')
| -rw-r--r-- | tests/wipy/i2c.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/wipy/i2c.py b/tests/wipy/i2c.py index 9e2645947..57015767d 100644 --- a/tests/wipy/i2c.py +++ b/tests/wipy/i2c.py @@ -166,6 +166,11 @@ try: except Exception: print("Exception") +try: + I2C(1, I2C.MASTER, baudrate=100000) +except Exception: + print("Exception") + # reinitialization must work i2c.init(baudrate=400000) print(i2c) |
