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:
- 6:ea6b30c4bb01
- Parent:
- 5:34ed652f8c31
- Child:
- 7:8982d9375363
diff -r 34ed652f8c31 -r ea6b30c4bb01 codeurs.cpp
--- a/codeurs.cpp Tue Jul 21 19:33:38 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-// Nom du fichier : codeurs.cpp
-#include "pins.h"
-
-// Variables globales
-long cpt_cdgA=0; // Codeur de gauche
-long cpt_cddA=0; // Codeur de droite
-
-void cdgaRise(){
- if(cdgB) cpt_cdgA++;
- else cpt_cdgA--;
-}
-
-void cddaRise(){
-
-}