christophe vermaelen
/
DM2_ex2
Exercice 2 - Etude de la machine à états
Revision 1:d77bf371f544, committed 2020-12-19
- Comitter:
- vermaelen
- Date:
- Sat Dec 19 11:44:15 2020 +0000
- Parent:
- 0:6608f0b5205c
- Commit message:
- ...
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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;