-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTestModule2.h
More file actions
40 lines (34 loc) · 897 Bytes
/
TestModule2.h
File metadata and controls
40 lines (34 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* TestModule2.h
*
* Created on: Feb 11, 2014
* Author: sam
*/
#ifndef TESTMODULE2_H_
#define TESTMODULE2_H_
#include "Template.h"
#include "TestRepresentation1.h"
#include "ISL29023Representation.h"
#include "TMP006Representation.h"
#include "TestRepresentation2.h"
#include "TestRepresentation3.h"
MODULE(TestModule2)
REQUIRES(TestRepresentation1) //
REQUIRES(ISL29023Representation) //
REQUIRES(TMP006Representation) //
PROVIDES(TestRepresentation2) //
PROVIDES(TestRepresentation3)
END_MODULE
class TestModule2: public TestModule2Base
{
private:
uint8_t ledState;
unsigned long prevTime;
bool collectData;
public:
TestModule2();
void execute();
void update(TestRepresentation2& theTestRepresentation2);
void update(TestRepresentation3& theTestRepresentation3);
};
#endif /* TESTMODULE2_H_ */