hi i want to read the temperature using i2c
is there any simplest code ?
i mean just send address and read data no more
is there any simplest code ? use a derivative (SILabs, NXP, ...) with hardware I²C they all come with ready made code.
Erik
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.
"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...
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.