Torsten Wylegala
/
rtos-example
rtos example
Fork of mbed_blinky by
TimerTestClass.h@8:ec1a44f8e456, 2016-02-04 (annotated)
- Committer:
- torstenwylegala
- Date:
- Thu Feb 04 10:43:16 2016 +0000
- Revision:
- 8:ec1a44f8e456
init
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
torstenwylegala | 8:ec1a44f8e456 | 1 | #ifndef TIMERTESTCLASS_H_ |
torstenwylegala | 8:ec1a44f8e456 | 2 | #define TIMERTESTCLASS_H_ |
torstenwylegala | 8:ec1a44f8e456 | 3 | |
torstenwylegala | 8:ec1a44f8e456 | 4 | #include "mbed.h" |
torstenwylegala | 8:ec1a44f8e456 | 5 | #include "rtos.h" |
torstenwylegala | 8:ec1a44f8e456 | 6 | |
torstenwylegala | 8:ec1a44f8e456 | 7 | #include "Runnable.h" |
torstenwylegala | 8:ec1a44f8e456 | 8 | |
torstenwylegala | 8:ec1a44f8e456 | 9 | class TimerTestClass : public Runnable { |
torstenwylegala | 8:ec1a44f8e456 | 10 | |
torstenwylegala | 8:ec1a44f8e456 | 11 | private: |
torstenwylegala | 8:ec1a44f8e456 | 12 | |
torstenwylegala | 8:ec1a44f8e456 | 13 | DigitalOut led1; |
torstenwylegala | 8:ec1a44f8e456 | 14 | |
torstenwylegala | 8:ec1a44f8e456 | 15 | |
torstenwylegala | 8:ec1a44f8e456 | 16 | public: |
torstenwylegala | 8:ec1a44f8e456 | 17 | |
torstenwylegala | 8:ec1a44f8e456 | 18 | TimerTestClass(); |
torstenwylegala | 8:ec1a44f8e456 | 19 | |
torstenwylegala | 8:ec1a44f8e456 | 20 | void run(); |
torstenwylegala | 8:ec1a44f8e456 | 21 | |
torstenwylegala | 8:ec1a44f8e456 | 22 | }; |
torstenwylegala | 8:ec1a44f8e456 | 23 | |
torstenwylegala | 8:ec1a44f8e456 | 24 | |
torstenwylegala | 8:ec1a44f8e456 | 25 | |
torstenwylegala | 8:ec1a44f8e456 | 26 | #endif |