git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'upstream/master'
[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
#endif //_STRAIN_H
UCC
git Repository :: git.ucc.asn.au