aa

Dependencies:   mbed TrapezoidControl QEI

Revision:
19:96a462583af9
Parent:
16:3f2c2d89372b
Child:
31:45f97698857b
diff -r c694bae76e51 -r 96a462583af9 Input/Switch/Switch.cpp
--- a/Input/Switch/Switch.cpp	Mon Jul 08 01:55:34 2019 +0000
+++ b/Input/Switch/Switch.cpp	Tue Jul 16 06:48:51 2019 +0000
@@ -58,40 +58,40 @@
             ch.all = 11;
             break;
             case 4:
-            ch.all = 12;
+            ch.all = 6;
             break;
             case 5:
-            ch.all = 13;
+            ch.all = 4;
             break;
             case 6:
-            ch.all = 14;
+            ch.all = 2;
             break;
             case 7:
-            ch.all = 15;
+            ch.all = 0;
             break;
             case 8:
             ch.all = 7;
             break;
             case 9:
-            ch.all = 6;
+            ch.all = 5;
             break;
             case 10:
-            ch.all = 4;
+            ch.all = 3;
             break;
             case 11:
-            ch.all = 5;
+            ch.all = 1;
             break;
             case 12:
-            ch.all = 2;
+            ch.all = 12;
             break;
             case 13:
-            ch.all = 3;
+            ch.all = 13;
             break;
             case 14:
-            ch.all = 0;
+            ch.all = 14;
             break;
             case 15:
-            ch.all = 1;
+            ch.all = 15;
             break;
         }