808

Dependents:   Chromatograph_Mobile

Committer:
vitlog
Date:
Mon Jun 22 09:52:16 2020 +0000
Revision:
0:48636371d2d3
Child:
1:2c55cbb1e270
Termometer

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vitlog 0:48636371d2d3 1 #ifndef _LM35_H /* Guard against multiple inclusion */
vitlog 0:48636371d2d3 2 #define _LM35_H
vitlog 0:48636371d2d3 3 #include "PerifConfig.h"
vitlog 0:48636371d2d3 4 #define KF 1000
vitlog 0:48636371d2d3 5 typedef struct {
vitlog 0:48636371d2d3 6 //фильтрованное значение температуры
vitlog 0:48636371d2d3 7 float temp;
vitlog 0:48636371d2d3 8 uint8_t ready;
vitlog 0:48636371d2d3 9 } LM35_t;
vitlog 0:48636371d2d3 10 extern LM35_t LM35_0;
vitlog 0:48636371d2d3 11 void LM35_start(float per);
vitlog 0:48636371d2d3 12 void LM35_stop(void);
vitlog 0:48636371d2d3 13 #endif