LM75b component commands question

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 43 times
Been thanked: 60 times
Contact:

LM75b component commands question

Post by viktor_au »

When I use the CAL i2c component to represent the LM75b the program works OK.
1. Start i2c Master
2. Tx the data (as byte) to address 146
3. If ack = 0 (OK)
4. Tx the data (as byte) to address 0
5. Restart i2c master
6. Tx the data (as byte) to address 147
7. Rx MSB as byte 0
8. Rx LSB as byte 1
9. Stop i2c Master
10. work with MSB and LSB
-------------------------------------------------
When I use the FC8 LM75b component do I have to Tx first and only after try to Rx the data?

Post Reply