da

Dependencies:   mbed TrapezoidControl QEI

Revision:
4:ba9df71868df
Parent:
2:c015739085d3
Child:
16:3f2c2d89372b
--- a/Input/Switch/Switch.cpp	Sat Sep 22 10:58:25 2018 +0000
+++ b/Input/Switch/Switch.cpp	Mon Oct 01 13:47:19 2018 +0000
@@ -12,6 +12,7 @@
     };
 
     DigitalIn limitSw(LS_PIN);
+    
     DigitalOut selectPin[] = {
         DigitalOut(SELECT0_PIN),
         DigitalOut(SELECT1_PIN),
@@ -84,7 +85,7 @@
         selectPin[1] = ch.s1;
         selectPin[2] = ch.s2;
         selectPin[3] = ch.s3;
-
+        
         wait_us(1);
 
         return limitSw ? false : true;