808
Diff: lm35.h
- Revision:
- 0:48636371d2d3
- Child:
- 1:2c55cbb1e270
diff -r 000000000000 -r 48636371d2d3 lm35.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lm35.h Mon Jun 22 09:52:16 2020 +0000 @@ -0,0 +1,13 @@ +#ifndef _LM35_H /* Guard against multiple inclusion */ +#define _LM35_H +#include "PerifConfig.h" +#define KF 1000 +typedef struct { + //фильтрованное значение температуры + float temp; + uint8_t ready; + } LM35_t; + extern LM35_t LM35_0; +void LM35_start(float per); +void LM35_stop(void); +#endif \ No newline at end of file