Hi all
I am working on ABPDLNN100MG2A3 pressure sensor from honeywell which is a i2c interface, I have read the data form the sensor and stored two 8 bit variable a and b ,now the issue is how to convert the values in these two variable to millibar. Kindly share the thoughts.
HAL_I2C_Master_Receive(&hi2c2,(0x28<<1),ABP_Pressure,2,100);
ABP_Pressure[0] - will hold the first 8 bit of the i2c data from the sensor
ABP_Pressure[1] - will hold the second 8 bit of the i2c data from the sensor
Okay, I see this is not an Arduino program. But I'll be patient and ask, what is wrong?
It is obvious that you haven't read the forum guidelines. Please go back and edit your post to put the code in code tags so it displays properly in the forum.
Please read the entire forum introduction that I linked to. Then fix the post you made by adding code tags. Please answer each and every question that is asked here.