Leo Merel
/
APP4
APP4
Fork of rtos_basic by
Revision 20:b45474290281, committed 2018-10-23
- Comitter:
- jpbaillargeon
- Date:
- Tue Oct 23 16:26:07 2018 +0000
- Parent:
- 19:ae8e7c9292d6
- Child:
- 21:846e642eb63e
- Commit message:
- 99.999999%
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 23 15:39:47 2018 +0000 +++ b/main.cpp Tue Oct 23 16:26:07 2018 +0000 @@ -9,7 +9,7 @@ DigitalOut flash(LED4); DigitalIn pin12(p12); -int periode = 40; //10ms +int periode = 1; //10ms int periode_reception = 30; bool PREAMBULE[] = {0,1,0,1,0,1,0,1}; bool START_END[] = {0,1,1,1,1,1,1,0}; @@ -22,7 +22,7 @@ bool front; } message_t; -Mail<message_t,64> mail_box; +Mail<message_t,128> mail_box; Timer timer; int etat; const int longMessage = 64; @@ -178,8 +178,6 @@ } - - //Réception des trames void receptionTrames() { int compteur = 0;