Tamas Titusz Ban
/
ELEC1620_ExamTemplate_2019
Template for the ELEC1620 End of year exam
TestAdmin/TestAdmin.h@0:54721f063ac8, 2019-03-22 (annotated)
- Committer:
- el16ttb
- Date:
- Fri Mar 22 13:11:07 2019 +0000
- Revision:
- 0:54721f063ac8
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el16ttb | 0:54721f063ac8 | 1 | #ifndef LIB_TESTADMIN_H_ |
el16ttb | 0:54721f063ac8 | 2 | #define LIB_TESTADMIN_H_ |
el16ttb | 0:54721f063ac8 | 3 | |
el16ttb | 0:54721f063ac8 | 4 | #include "mbed.h" |
el16ttb | 0:54721f063ac8 | 5 | #include "N5110.h" |
el16ttb | 0:54721f063ac8 | 6 | #include "StreamOut.h" |
el16ttb | 0:54721f063ac8 | 7 | |
el16ttb | 0:54721f063ac8 | 8 | class TestAdmin{ |
el16ttb | 0:54721f063ac8 | 9 | public: |
el16ttb | 0:54721f063ac8 | 10 | static bool testRunning(); |
el16ttb | 0:54721f063ac8 | 11 | static void setTaskName(const char *str, N5110 *lcd, StreamOut *streamout); |
el16ttb | 0:54721f063ac8 | 12 | static bool printEnabled; |
el16ttb | 0:54721f063ac8 | 13 | |
el16ttb | 0:54721f063ac8 | 14 | private: |
el16ttb | 0:54721f063ac8 | 15 | static DigitalIn *_skipButton; |
el16ttb | 0:54721f063ac8 | 16 | static const char *_str; |
el16ttb | 0:54721f063ac8 | 17 | static N5110 *_lcd; |
el16ttb | 0:54721f063ac8 | 18 | static StreamOut *_streamOut; |
el16ttb | 0:54721f063ac8 | 19 | |
el16ttb | 0:54721f063ac8 | 20 | |
el16ttb | 0:54721f063ac8 | 21 | }; |
el16ttb | 0:54721f063ac8 | 22 | |
el16ttb | 0:54721f063ac8 | 23 | #endif |
el16ttb | 0:54721f063ac8 | 24 |