From: Thomas Pietrzak Date: Tue, 28 Aug 2012 13:41:25 +0000 (+0000) Subject: add test X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=c22691d1511c68d8b6fab935bf8c5e979fcf4b12;p=tactonlibrary.git add test git-svn-id: svn+ssh://thomaspietrzak.com/var/svn/rep@89 47cf9a05-e0a8-4ed5-9e9b-101a649bc004 --- diff --git a/Arduino/wristbandTactons/wristbandTactons.ino b/Arduino/wristbandTactons/wristbandTactons.ino index a22abe3..0e4e14b 100644 --- a/Arduino/wristbandTactons/wristbandTactons.ino +++ b/Arduino/wristbandTactons/wristbandTactons.ino @@ -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;