I want to read temperature from an MCP9800 temperature sensor, which is i2c compatible.

I know the device address and the temperature register address

i would like to know whic is the right i2cread instruction to read the temperature...

i tried

i2cread sda,scl,dev_addr,reg_addr,[var]

but it doesn't work!!!

any idea?

thanks a lot