Code for automatic pill box dispenser

Dependencies:   mbed-rtos mbed sMotor

Revision:
1:71eb56bcafce
Parent:
0:d223f8829ec0
--- a/main.cpp	Wed Dec 13 04:28:37 2017 +0000
+++ b/main.cpp	Wed Dec 13 04:43:36 2017 +0000
@@ -75,8 +75,7 @@
 
 void SendCmdTime() {
     //Send a command through Serial telling the mySQL database to update the
-    //time
-    //pc.printf("cmdTime\n");  
+    //time 
     cmd_type = 1;
     cmd_send = true;
 }
@@ -84,13 +83,11 @@
 void SendCmdPill() {
     // Send a command through Serial telling the mySQL database to update the
     // pill status
-    //pc.printf("cmdPill\n");
     cmd_type = 2;
     cmd_send = true;
 }
 
-void ControlCmd()
-{
+void ControlCmd() {
     while (true) {
         if (cmd_send) {
             switch (cmd_type) {