Library thread Blink Led or other processes use RTOS

Dependents:   LedsThreading

Fork of BlinkLed by Satoshi Togawa

Example

https://developer.mbed.org/users/AVELARDEV/code/LedsThreading/

Revision:
2:1d0c09c1a8b4
Parent:
1:54071e781f77
Child:
3:f317d057edde
--- a/BlinkLed.cpp	Sat Sep 01 11:08:44 2012 +0000
+++ b/BlinkLed.cpp	Mon Dec 24 06:38:42 2012 +0000
@@ -27,6 +27,11 @@
     pause = true;
 }
 
+bool BlinkLed::isBlinking()
+{
+    return !pause;
+}
+
 void BlinkLed::blink(void const *argument)
 {
     BlinkLed* self = (BlinkLed*)argument;