View the decoded I2C signal from the graph produced by Saleae to read temperature from an
Si7021 breakout board.
Capture the signal in Saleae:
Add asynchronous serial to decode the captured signal:
MS Byte for temperature is
0x6D and LS Byte for temperature is
0xAC which is
0x6DAC in hexadecimal and
28076 in decimal. Using the equation given in the datasheet, the temperature in Celcius is
28076*175.72 / 65536 - 46.85 = 28, 28 C, which is same as what is shown in the serial monitor.
Wire up the hardware accordingly