The MEMSIC MXC6225XU is a Digital Thermal Orientation Sensor (DTOS).
-The chip's I2C interface supports standard mode and fast mode (max. 400kHz).
-Its I2C slave address is 0x2a.
+The chip's I²C interface supports standard mode and fast mode (max. 400kHz).
+Its I²C slave address is 0x2a.
Details:
TODO
def decode(self, ss, es, data):
cmd, databyte = data
- # Store the start/end samples of this I2C packet.
+ # Store the start/end samples of this I²C packet.
self.ss, self.es = ss, es
# State machine.
if self.state == 'IDLE':
- # Wait for an I2C START condition.
+ # Wait for an I²C START condition.
if cmd != 'START':
return
self.state = 'GET SLAVE ADDR'