Red Light Work
Fork of realtimeMMLib by
MBedStation.h@0:9f82ee1feae7, 2017-10-02 (annotated)
- Committer:
- GTNicholson
- Date:
- Mon Oct 02 11:18:47 2017 +0000
- Revision:
- 0:9f82ee1feae7
- Child:
- 1:b80e5f26b233
Initial Publish Version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GTNicholson | 0:9f82ee1feae7 | 1 | |
GTNicholson | 0:9f82ee1feae7 | 2 | #include "sensor_base.h" |
GTNicholson | 0:9f82ee1feae7 | 3 | #include <iostream> |
GTNicholson | 0:9f82ee1feae7 | 4 | #include <string> |
GTNicholson | 0:9f82ee1feae7 | 5 | |
GTNicholson | 0:9f82ee1feae7 | 6 | using namespace std; |
GTNicholson | 0:9f82ee1feae7 | 7 | |
GTNicholson | 0:9f82ee1feae7 | 8 | class MBedStation |
GTNicholson | 0:9f82ee1feae7 | 9 | { |
GTNicholson | 0:9f82ee1feae7 | 10 | public: |
GTNicholson | 0:9f82ee1feae7 | 11 | MBedStation(); |
GTNicholson | 0:9f82ee1feae7 | 12 | string name; |
GTNicholson | 0:9f82ee1feae7 | 13 | //sensor_base sensors[]; |
GTNicholson | 0:9f82ee1feae7 | 14 | int test[5]; |
GTNicholson | 0:9f82ee1feae7 | 15 | void setup(); |
GTNicholson | 0:9f82ee1feae7 | 16 | sensor_base sensors[8]; |
GTNicholson | 0:9f82ee1feae7 | 17 | sensor_onoff sensor_0; |
GTNicholson | 0:9f82ee1feae7 | 18 | sensor_vin sensor_1; |
GTNicholson | 0:9f82ee1feae7 | 19 | sensor_vin sensor_2; |
GTNicholson | 0:9f82ee1feae7 | 20 | sensor_pulse sensor_3; |
GTNicholson | 0:9f82ee1feae7 | 21 | }; |