X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Flm75.h;h=e503b6cd977b0263df1c920e7ff9500c2b8b5358;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=78a1c4053e5e50311e146a1c72af035a1666598d;hpb=26d999589c974fc163fdf7e91a439f11d69c3f7b;p=bertos.git diff --git a/bertos/drv/lm75.h b/bertos/drv/lm75.h index 78a1c405..e503b6cd 100644 --- a/bertos/drv/lm75.h +++ b/bertos/drv/lm75.h @@ -55,6 +55,13 @@ #if COMPILER_C99 #define lm75_read(...) PP_CAT(lm75_read ## _, COUNT_PARMS(__VA_ARGS__)) (__VA_ARGS__) #else + /** + * Read temperature from LM75 sensor. + * + * \note: Do not call this function faster than once every ~200ms, otherwise + * the sensor will not have time to perform conversions and will + * always return the same temperature value. + */ #define lm75_read(args...) PP_CAT(lm75_read ## _, COUNT_PARMS(args)) (args) #endif