Other Parts Discussed in Thread: HDC1080, , CC1310, CC2650, CC2560, TMP102
Tool/software: TI-RTOS
Hello everybody,
I want to read data from the sensor HDC1080. I connected it to the LAUNCHXL-CC1310's I2C ports.
I added the following line to CC1310_LAUNCHXL.h:
#define Board_I2C_TMP CC1310_LAUNCHXL_I2C0
and I'm trying the code linked here for my purpose.
When I run the program, it returns an error when he tries to open the comunication with the following line of code:
i2c = I2C_open(Board_I2C_TMP, &i2cParams);
How can i fix this problem?
Thanks in advance for the help.