Hey there, I want to activate a sensor using I2C. The problem is, that I don't know how to do this. I've surched in the net for this question, but I have not found anything useful. Maybe someone could tell me how I can init, send and read data. Thanks for your help!
hi, which msp430 and wich sensor do you think about? there are many examples for the msp430 as an i2c master on the ti pages.
I have the msp430f5529 and my temp. and hum. sensor is the Si7006-20a
:
Edited by User
For how to write and read over I²C, see the files MSP430F55xx_uscib0_i2c_08.c and MSP430F55xx_uscib0_i2c_10.c in the MSP430F5529 example code package.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.