![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
led example with 2 timers
main.cpp
- Committer:
- passelin
- Date:
- 2014-02-10
- Revision:
- 1:6e31c704f4d6
- Parent:
- 0:11dd239703cc
- Child:
- 2:124a066878cc
File content as of revision 1:6e31c704f4d6:
#include "main.h" InterruptIn signal(p15); Serial pc(USBTX,USBRX); Queue<char, 16> ReaderQueue; int main (void) { Thread thread1(Writer_thread); Thread thread2(Reader_thread); Thread thread3(Modulator_thread); Thread thread4(Demodulator_thread); Thread thread5(Sender_thread); Thread thread6(Receiver_thread); while(1) { // wait forever... } }