Hello *
This is my first time i do somthing with I2C. I tray to read a digital pressure transducers from Sensor Technics. I use the CSDX Series.
the code is:
I2C_data var PORTB.1 ' I2C Daten Leitung
I2C_clock var PORTA.4 ' I2C Clock Leitung
Main:
I2CRead I2C_data,I2C_clock,$F1,0,druck,druck2 ' Read string from slave
Pause 10
lcdout $FE,$D4,"Druck ",dec druck, "mbar" ,dec druck2'
pause 10
goto main
on the display nothing is changing.
Thanks for your help.
Rolf
The Data Sheet is under :
http://www.sensortechnics.com/index....91f3ec91b908bd
Bookmarks