We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The Microchip MCP9800 is a thermometer with an I2C interface. This code uses the lib_i2c primitives.
char m9800_init(void); short m9800_temp(void); /* Get temperature. out: 13-bit signed value, degrees C * 16 */