![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
led example with 2 timers
Diff: main.h
- Revision:
- 5:726d7857fd33
- Parent:
- 4:af325c921e79
--- a/main.h Tue Feb 11 20:38:43 2014 +0000 +++ b/main.h Wed Feb 12 07:07:48 2014 +0000 @@ -15,6 +15,8 @@ #define TYPE 0x00 #define STOP 0x3E +#define TIME 600000 // 100 ms + typedef struct { string trame; char size; @@ -28,7 +30,7 @@ void Sender_thread(void const *args); void Receiver_thread(void const *args); -extern "C" void TIMER0_IRQHandler (void); +extern "C" void TIMER3_IRQHandler (void); extern "C" void TIMER2_IRQHandler (void);