f
Revision 2:9db0b50dd371, committed 2017-03-17
- Comitter:
- aure
- Date:
- Fri Mar 17 18:16:06 2017 +0000
- Parent:
- 1:ea955f669b13
- Commit message:
- 17031916
Changed in this revision
LED_Debug.cpp | Show annotated file Show diff for this revision Revisions of this file |
LED_Debug.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r ea955f669b13 -r 9db0b50dd371 LED_Debug.cpp --- a/LED_Debug.cpp Fri Mar 10 12:02:32 2017 +0000 +++ b/LED_Debug.cpp Fri Mar 17 18:16:06 2017 +0000 @@ -48,8 +48,12 @@ void LED_Debug::add() //rajoute un debug; { - if(cpt<2^taille) + if(cpt<(2^taille)) this->incr(); + wait(1); + this->reset(); + this->conversion(); + this->affiche_led(); }
diff -r ea955f669b13 -r 9db0b50dd371 LED_Debug.h --- a/LED_Debug.h Fri Mar 10 12:02:32 2017 +0000 +++ b/LED_Debug.h Fri Mar 17 18:16:06 2017 +0000 @@ -1,4 +1,4 @@ -#include "LED.h" + #include "mbed.h"