Tool/software:
Hi,
I am trying to interface with HDC1080 using I2c,
I am able to read device ID and Manufacturer ID properly,
But when i try to set the 12th bit of Configuration Register using i2cset, it is not happening.
Similar to that i am unable to read the Temperature and Humidity values as well.
These are are commands being used to interface:
1. i2cset -y 1 0x40 0x02 0x1010 w (To set 12th bit of config. Reg.)
2. i2cget -y 1 0x40 0x00 w (To read Temperature value.)
2. i2cget -y 1 0x40 0x01 w (To read Humidity value.)
Please let me know the solution for this as early as possibe.
Thanks,
Vaishak