thread based dc motor direction
Dependencies: Motor mbed-rtos mbed
Fork of rtos_basic by
Diff: main.cpp
- Revision:
- 3:c92e21f305d8
- Parent:
- 1:491820ee784d
- Child:
- 7:8d9919175929
--- a/main.cpp Fri Aug 03 09:50:48 2012 +0000 +++ b/main.cpp Fri Nov 23 09:58:48 2012 +0000 @@ -4,7 +4,7 @@ DigitalOut led1(LED1); DigitalOut led2(LED2); -void led2_thread(void const *argument) { +void led2_thread(void const *args) { while (true) { led2 = !led2; Thread::wait(1000);