APP Team
/
app2
...
main.cpp
- Committer:
- trixrabbit
- Date:
- 2014-01-27
- Revision:
- 0:a68d724119d5
- Child:
- 1:92ebe0707661
File content as of revision 0:a68d724119d5:
#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) { } }