Basic tank-style drive robot control firmware for Freescale FRDM-K64F. Controls motors on a Dual-Full-H-Bridge with EN, like DBH-1x series, from Bluetooth serial commands

Dependencies:   mbed

Revision:
4:7620d21baef3
Parent:
3:502f90649834
--- a/Command.h	Thu Aug 13 17:50:28 2015 +0000
+++ b/Command.h	Sun Aug 16 22:46:25 2015 +0000
@@ -31,7 +31,7 @@
     int i = cSerial.cread();
     if (i < 0) return(false);  // no command yet
     char c = i;
-static int nc=0;DiagSerial.printf("%d got %d(%c)\r\n",nc++,i,i);
+//static int nc=0;DiagSerial.printf("%d got %d(%c)\r\n",nc++,i,i);
 //Serial.print('[');Serial.print(i);Serial.print(',');Serial.print(c);Serial.println(']');
     switch(c)
       {