f
Diff: LED_Debug.h
- Revision:
- 0:818c6723daaa
- Child:
- 1:ea955f669b13
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LED_Debug.h Fri Mar 10 11:20:41 2017 +0000 @@ -0,0 +1,34 @@ +#include "LED.h" +#include "mbed.h" + + +#define taille 4 + +class LED_Debug +{ + protected: + + int cpt; + + DigitalOut*L1; + DigitalOut*L2; + DigitalOut*L3; + DigitalOut*L4; + int tab[taille]; + + void incr(); + + public: + + LED_Debug(); + ~LED_Debug(); + + void reset(); + void add(); + void affiche_led(); + void conversion(); + + +}; + +//mouret \ No newline at end of file