Now the sensor is working well
Thanks for all your help
The code I use is:
I2CRead I2C_data,I2C_clock,$F1,[druck]
an to calculate the mbar:
IF druck > 1999 then ' nur positive Druck auswerten
druck = ((druck - 2000) * 6) + ((druck - 2000) /4) ' * 25 / 100
else
druck = 0
endif
see also the printscreen from the I2C bus.
Bookmarks