Hardware Reference
In-Depth Information
Discussion
You can easily modify this recipe to call
b.i2cReadByte(bus, onReadByte)
everytime you want to read a new temperature. You can also adapt it to read other I
2
C
devices just by changing the
bus
and address (
0x49
in this example) to another I
2
C
device. In fact, multiple I
2
C devices can be on the same bus at that same time and will re-
spond only to their addresses.