[riot-notifications] [RIOT-OS/RIOT] drivers/lm75: driver for the lm75 sensor and derivatives (#16678)
notifications at github.com
Mon Jul 26 10:58:25 CEST 2021
@benpicco commented on this pull request.
> + * @param[out] dev device structure to initialize
+ * @param[in] params initialization parameters
+ * @return LM75_SUCCESS, on success
+ * @return LM75_ERROR_I2C, on I2C related error
+ * @return LM75_ERROR, on initialization related error
+int lm75_init(lm75_t *dev, const lm75_params_t *params);
+ * @brief Temperature values of LM75 sensor
+ * Reads the sensor temperature values from TEMP_REG.
+ * @param[out] dev device structure
+ * @param[out] temperature buffer where temperature value will be written
The API should be general and not prevent users from accessing the full precision of the sensor - and we can easily scale the unit to make that happen without the use of floats.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications