Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: codeurs.cpp
- Revision:
- 2:094c09903a9c
- Parent:
- 1:2fe8c402ee79
- Child:
- 5:34ed652f8c31
--- a/codeurs.cpp Wed Jul 08 20:42:19 2020 +0000
+++ b/codeurs.cpp Thu Jul 09 21:03:01 2020 +0000
@@ -3,24 +3,28 @@
// Variables globales
long cpt_cdgA=0; // Codeur de gauche
-long cpt_cdgB=0;
+//long cpt_cdgB=0;
long cpt_cddA=0; // Codeur de droite
-long cpt_cddB=0;
+//long cpt_cddB=0;
void cdgaRise(){
if(cdgB) cpt_cdgA++;
else cpt_cdgA--;
}
+/*
void cdgbRise(){
if(cdgA) cpt_cdgB--;
else cpt_cdgB++;
}
+*/
void cddaRise(){
}
+/*
void cddbRise(){
-}
\ No newline at end of file
+}
+*/
\ No newline at end of file