We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3a5e7 commit e7839c6Copy full SHA for e7839c6
PSL/i2c.py
@@ -49,20 +49,6 @@ def __init__(self, device: Handler = None):
49
self._device.get_ack()
50
self.configure(125e3) # 125 kHz is as low as the PSLab can go.
51
52
- def pull_scl_low(self, time):
53
- """Hold SCL pin at 0 V for a specified time period.
54
-
55
- Used by certain sensors such as MLX90316 PIR for initializing.
56
57
- Parameters
58
- ----------
59
- time : int
60
- Time to hold SCL LOW in microseconds.
61
- """
62
- self._device.send_byte(CP.I2C_HEADER)
63
- self._device.send_byte(CP.I2C_PULLDOWN_SCL)
64
- self._device.send_int(time)
65
- self._device.get_ack()
66
67
def configure(self, frequency: float, smbus: bool = False):
68
"""Configure frequency and bus type.
0 commit comments