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:
- 5:34ed652f8c31
- Parent:
- 2:094c09903a9c
--- a/codeurs.cpp Sat Jul 18 17:09:08 2020 +0000
+++ b/codeurs.cpp Tue Jul 21 19:33:38 2020 +0000
@@ -3,28 +3,13 @@
// Variables globales
long cpt_cdgA=0; // Codeur de gauche
-//long cpt_cdgB=0;
long cpt_cddA=0; // Codeur de droite
-//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