Torsten Wylegala
/
rtos-example
rtos example
Fork of mbed_blinky by
TimerTestClass.cpp@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 | #include "TimerTestClass.h" |
torstenwylegala | 8:ec1a44f8e456 | 2 | |
torstenwylegala | 8:ec1a44f8e456 | 3 | TimerTestClass::TimerTestClass(): led1(LED1){ |
torstenwylegala | 8:ec1a44f8e456 | 4 | |
torstenwylegala | 8:ec1a44f8e456 | 5 | led1 = true; |
torstenwylegala | 8:ec1a44f8e456 | 6 | |
torstenwylegala | 8:ec1a44f8e456 | 7 | } |
torstenwylegala | 8:ec1a44f8e456 | 8 | |
torstenwylegala | 8:ec1a44f8e456 | 9 | void TimerTestClass::run(){ |
torstenwylegala | 8:ec1a44f8e456 | 10 | |
torstenwylegala | 8:ec1a44f8e456 | 11 | led1 = !led1; |
torstenwylegala | 8:ec1a44f8e456 | 12 | |
torstenwylegala | 8:ec1a44f8e456 | 13 | } |