![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Exercice 2 - Etude de la machine à états
Diff: main.cpp
- Revision:
- 1:d77bf371f544
- Parent:
- 0:6608f0b5205c
diff -r 6608f0b5205c -r d77bf371f544 main.cpp --- a/main.cpp Sun Oct 28 16:20:55 2018 +0000 +++ b/main.cpp Sat Dec 19 11:44:15 2020 +0000 @@ -10,6 +10,7 @@ float val; while (1) { val=lire_slider(); + printf("etat=%d -- slider=%f \n\r",etat,val); switch(etat) { case 0 : if(val>0 && val <0.2) etat=1;