This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reading Data using I2C

hi
i want to read the temperature using i2c

is there any simplest code ?

i mean just send address and read data
no more

Parents Reply Children
  • "PS there is NO SUCH THING as i2c, it is I square C. Yes, I know it is "common" but that does not make it right."

    Oops. Tell that to NXP (formerly Philips, aka creators of the bus) ;)

    Read the "keywords" section on first page of:
    www.nxp.com/.../UM10204.pdf

    It is an established standard that when typography can't support superscript characters, a non-superscript digit is used. What exactly would be the alternative? IIC? A large percentage of I2C users would probably not recognize that term. And it is used exactly zero times in NXP:s linked manual. While that manual contains a number of i2c references - in keywords, email addresses, web links, ...

  • It is an established standard that when typography can't support superscript characters
    the 'typography' of this forum clearly can support superscript characters.

    the I2C is a "web created issue"
    in the days of printed datasheets Philips (NXP is post web) always used I²C

    anyhow i2c is even worse than I2C

    Thus, when you can, use the right thing, when you can't, alas...

    Erik

  • No, it isn't.

    It was common before the web, when wordprocessors and printers weren't as smart as they are now.

    It always has been common to do it in plain text files.