Driver for LM75 temperature sensor.
National Semiconductor is now a wholly-owned subsidiary of Texas Instruments. Many temperature sensors are compatible with the original LM75, and many of them offer higher resolution, accuracy and additional features. This driver provides a standard view of the LM75 with fixed dynamic resolution.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using the LM75 of a Gravitech 7-segment shield: http://www.gravitech.us/7segmentshield.html
This was plugged into a SolderCore:
|Resolution (°C)||0.5 (fixed)|
|Communication||up to 400 kHz (I2C)|
|LM75_I2C_ADDR||LM75 8-bit I2C address|
|lm75_initialize_i2c||Initialize LM75 on I2C bus|
|lm75_initialize_i2c_ex||Initialize LM75-compatible on I2C bus|