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:
- 0:dc036b67c87c
- Child:
- 1:2fe8c402ee79
diff -r 000000000000 -r dc036b67c87c codeurs.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/codeurs.cpp Wed Jul 08 19:51:28 2020 +0000
@@ -0,0 +1,39 @@
+#include "pins.h"
+
+// Rise
+
+void cdgaRise(){
+ if(cdgB) cpt_cdgA++;
+ else cpt_cdgA--;
+}
+
+void cdgbRise(){
+ if(cdgA) cpt_cdgB--;
+ else cpt_cdgB++;
+}
+
+void cddaRise(){
+
+}
+
+void cddbRise(){
+
+}
+
+// Fall
+
+void cdgaall(){
+
+}
+
+void cdgball(){
+
+}
+
+void cddaall(){
+
+}
+
+void cddball(){
+
+}
\ No newline at end of file