
Originally Posted by
inse
Hi Eugeniu,
your program is a little bit hard to read without knowing Romanian (right?).
If you want to store the temperature value in single ASCII characters, something like this might work:
i2cwrite I2CDAT, I2CCLK, $A0, adr,[(temperature dig 0= + 48, (temperature dig 1) + 48, (temperature dig 2) + 48, (temperature dig 3) +48]
Add the comma where you please or add it after reading back the value.
Correct me if I am talking bull****...
Regards,
Ingo
Bookmarks