add test
authorThomas Pietrzak <thomas.pietrzak@gmail.com>
Tue, 28 Aug 2012 13:41:25 +0000 (13:41 +0000)
committerThomas Pietrzak <thomas.pietrzak@gmail.com>
Tue, 28 Aug 2012 13:41:25 +0000 (13:41 +0000)
git-svn-id: svn+ssh://thomaspietrzak.com/var/svn/rep@89 47cf9a05-e0a8-4ed5-9e9b-101a649bc004

Arduino/wristbandTactons/wristbandTactons.ino

index a22abe3ab77f4dfc94a19b6833857934b2b28e12..0e4e14b36ded8dca0227a010306e1fef653e0c89 100644 (file)
@@ -85,7 +85,7 @@ void loop()
         }
         if (posbuf >= nbf*6)
         {
-/*          Serial.print("Received: *");
+          /*Serial.print("Received: *");
           for (int i = 0 ; i < 6 ; i++)
             Serial.print(buffer[i], HEX);
           Serial.println("*");*/
@@ -165,6 +165,11 @@ void loop()
       manager.stop();
       command = 0;
       break;
+    //Ask for feedback
+    case 'I':
+      Serial.write("I'm still alive");
+      command = 0;
+      break;
     //unknown command: do nothing
     default:
       command = 0;