Grenade Drone Controller

Dependencies:   mbed

Revision:
2:915533cf5d94
Parent:
1:d2b6491e52fd
--- a/GranadeSwitch.cpp	Fri Jul 20 06:11:24 2018 +0000
+++ b/GranadeSwitch.cpp	Mon Aug 20 03:08:50 2018 +0000
@@ -52,9 +52,9 @@
                 Led9=0;
             }
             RcvStat();
+            
+            pc.printf("%x %x\n",SigBit,RcvBit);
             RcvBit=0;
-            
-            pc.printf("%x\n",SigBit);
         }
         if(Sw1==0) Sw1Fn();
         if(Sw2==0) {Sw2Fn();}