AresENSEA-CDF2020 / Mbed 2 deprecated AresCDFMainCode

Dependencies:   mbed DRV8825

Revision:
0:dc036b67c87c
Child:
1:2fe8c402ee79
--- /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