APP Team
/
app2
...
Diff: main.cpp
- Revision:
- 0:a68d724119d5
- Child:
- 1:92ebe0707661
diff -r 000000000000 -r a68d724119d5 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jan 27 15:40:32 2014 +0000 @@ -0,0 +1,47 @@ +#include "mbed.h" +#include "rtos.h" +DigitalOut led1(LED1); +DigitalOut led2(LED2); +AnalogIn evenAnn1(p19); +AnalogIn evenAnn1(p20); +DigitalIn evenNum1(p15); +DigitalIn evenNum2(p16); + +void even1_thread(void const *args) +{ + while (true) + { + } +} + +void even2_thread(void const *args) +{ + while (true) + { + } +} + +void even3_thread(void const *args) +{ + while (true) + { + } +} + +void even4_thread(void const *args) +{ + while (true) + { + } +} + + + +int main() { +Thread thread1(even1_thread); +Thread thread2(even2_thread); +Thread thread3(even3_thread); +Thread thread4(even4_thread); +while (true) { + } + } \ No newline at end of file