r

ss

Please use code tags ("</>" button) when posting code, as described in the "How to use this forum" post.

Do you have the I2C version of the sensor? If so, post a hand drawn (not Fritzing) wiring diagram.

First, use the I2C address scanner program to verify that the device is connected properly, and comes up with the proper I2C address.

Then, write a simple program that just accesses and prints the contents of the desired registers. Post that, with supporting information if you run into trouble.

At this point, the logging portion of your code is useless and distracting. You can add in the correct sensor code later.

The (DCT 532) slave address is =0*32 (hex) or =50 (decimal).

The diagram has connection of scl and sda in the I2C bus configuration with (A4 and A5) pins of the arduino uno.

Could you kindly clarify about the register that i should address to, for getting the values of the pressure.

thanks.

Why bother to post if you ignore suggestions in the replies?