stuff
[matches/MCTX3420.git] / server / sensors / strain.h
1 #ifndef _STRAIN_H
2 #define _STRAIN_H
3
4 #include <stdbool.h>
5
6 /**
7  * Enum of strain IDs
8  */
9 typedef enum
10 {
11         STRAIN0,
12         STRAIN1,        
13         STRAIN2,
14         STRAIN3
15 } StrainID;
16
17 // Initialise a strain gauge
18 extern bool Strain_Init(const char * name, int id);
19 // Read from a strain gauge
20 extern bool Strain_Read(int id, double * value);
21
22 extern bool Strain_Cleanup(int id);
23 extern bool Strain_Sanity(int id, double value);
24
25 #endif //_STRAIN_H

UCC git Repository :: git.ucc.asn.au