i did a picture on the KO.
blue is clock and red are data.
and i can not read the sensor.
Last edited by Omalik; - 8th June 2008 at 17:46.
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.
I am glad to see that you got it working![]()
Bookmarks