This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[HELP] Code for HDC1000 - TM4C123GH6PM.

Hi,

i am using hdc1000 sensor with TM4C123GH6PM microcontroller. Can someone give me the source code or give me some advices, i have tried to follow the i2c example but i can't  still interface with the sensor. Here is my source code, the problem is the code always stuck at the line " while(I2CMasterBusy(I2C0_BASE));"

pastecode.org/.../44523968

Thank you in advance.