KEIS

Dependencies:   mbed-rtos mbed

Fork of rtos_timer by mbed official

Revision:
5:df719c9db9ba
Parent:
1:c27c61c0a1e0
--- a/main.cpp	Tue Jun 04 16:05:58 2013 +0100
+++ b/main.cpp	Wed Sep 25 05:00:57 2013 +0000
@@ -10,12 +10,12 @@
 }
 
 int main(void) {
-    RtosTimer led_1_timer(blink, osTimerPeriodic, (void *)0);
+    RtosTimer led_1_timer(blink, osTimerOnce, (void *)0);
     RtosTimer led_2_timer(blink, osTimerPeriodic, (void *)1);
     RtosTimer led_3_timer(blink, osTimerPeriodic, (void *)2);
     RtosTimer led_4_timer(blink, osTimerPeriodic, (void *)3);
     
-    led_1_timer.start(2000);
+    led_1_timer.start(10000);
     led_2_timer.start(1000);
     led_3_timer.start(500);
     led_4_timer.start(250);