LED with mutex protect
Dependencies: C12832 LM75B mbed-rtos mbed
Fork of Case_Study_rtos_basic_Mutex_LED by
Diff: main.cpp
- Revision:
- 11:530ae198e5f2
- Parent:
- 10:8635af078e7c
diff -r 8635af078e7c -r 530ae198e5f2 main.cpp --- a/main.cpp Fri Feb 13 00:23:28 2015 +0000 +++ b/main.cpp Fri Feb 13 00:28:04 2015 +0000 @@ -60,10 +60,10 @@ int main() { //Main Thread thread_LED_Flash(led_R_B_flash); Thread thread_LED_dim(led_dim); - + int i=0; while (1) { - printf("Hello_World\r\n"); + printf("Hello_World %d \r\n", i++); Thread::wait(5000); }