Initial commit
Dependencies: MODSERIAL Terminal TextLCD mbed
presence.h@1:a6b0e0ce3e7a, 2014-12-05 (annotated)
- Committer:
- anmar
- Date:
- Fri Dec 05 10:27:17 2014 +0000
- Revision:
- 1:a6b0e0ce3e7a
- Parent:
- 0:0903545c0460
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
anmar | 0:0903545c0460 | 1 | #ifndef __presence_h |
anmar | 0:0903545c0460 | 2 | #define __presence_h |
anmar | 0:0903545c0460 | 3 | |
anmar | 0:0903545c0460 | 4 | #include "mbed.h" |
anmar | 0:0903545c0460 | 5 | #include "thermal.h" |
anmar | 0:0903545c0460 | 6 | #include "Terminal.h" |
anmar | 0:0903545c0460 | 7 | |
anmar | 0:0903545c0460 | 8 | class Presence |
anmar | 0:0903545c0460 | 9 | { |
anmar | 0:0903545c0460 | 10 | public: |
anmar | 0:0903545c0460 | 11 | Presence(); |
anmar | 0:0903545c0460 | 12 | Presence(Terminal *term); |
anmar | 0:0903545c0460 | 13 | |
anmar | 0:0903545c0460 | 14 | Thermal *thermal; |
anmar | 0:0903545c0460 | 15 | |
anmar | 0:0903545c0460 | 16 | private: |
anmar | 0:0903545c0460 | 17 | I2C *i2c; |
anmar | 0:0903545c0460 | 18 | |
anmar | 0:0903545c0460 | 19 | void poll(); |
anmar | 0:0903545c0460 | 20 | |
anmar | 0:0903545c0460 | 21 | }; |
anmar | 0:0903545c0460 | 22 | |
anmar | 0:0903545c0460 | 23 | #endif |