lib for realteimMM funcs
MBedStation.h@5:3906f93b8b39, 2018-02-16 (annotated)
- Committer:
- GTNicholson
- Date:
- Fri Feb 16 10:03:35 2018 +0000
- Revision:
- 5:3906f93b8b39
- Parent:
- 4:af34fda1dfb0
Changing Pin assignment
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> |
ChrisAydon | 1:b80e5f26b233 | 5 | #include "mbed.h" |
GTNicholson | 0:9f82ee1feae7 | 6 | |
GTNicholson | 0:9f82ee1feae7 | 7 | using namespace std; |
GTNicholson | 0:9f82ee1feae7 | 8 | |
GTNicholson | 0:9f82ee1feae7 | 9 | class MBedStation |
GTNicholson | 0:9f82ee1feae7 | 10 | { |
GTNicholson | 0:9f82ee1feae7 | 11 | public: |
GTNicholson | 0:9f82ee1feae7 | 12 | MBedStation(); |
GTNicholson | 0:9f82ee1feae7 | 13 | string name; |
GTNicholson | 0:9f82ee1feae7 | 14 | //sensor_base sensors[]; |
GTNicholson | 0:9f82ee1feae7 | 15 | int test[5]; |
GTNicholson | 0:9f82ee1feae7 | 16 | void setup(); |
ChrisAydon | 1:b80e5f26b233 | 17 | int ProcessResponse(char * Response); |
GTNicholson | 0:9f82ee1feae7 | 18 | sensor_base sensors[8]; |
GTNicholson | 0:9f82ee1feae7 | 19 | sensor_onoff sensor_0; |
GTNicholson | 0:9f82ee1feae7 | 20 | sensor_vin sensor_1; |
GTNicholson | 0:9f82ee1feae7 | 21 | sensor_vin sensor_2; |
GTNicholson | 4:af34fda1dfb0 | 22 | |
GTNicholson | 3:13301255d95a | 23 | //sensor_pulse sensor_3; |
GTNicholson | 3:13301255d95a | 24 | //sensor_max6675 sensor_4; |
GTNicholson | 3:13301255d95a | 25 | //sensor_max6675 sensor_5; |
GTNicholson | 4:af34fda1dfb0 | 26 | |
ChrisAydon | 1:b80e5f26b233 | 27 | DigitalOut light_1; |
ChrisAydon | 1:b80e5f26b233 | 28 | DigitalOut light_2; |
GTNicholson | 4:af34fda1dfb0 | 29 | |
GTNicholson | 0:9f82ee1feae7 | 30 | }; |