From c22691d1511c68d8b6fab935bf8c5e979fcf4b12 Mon Sep 17 00:00:00 2001 From: Thomas Pietrzak Date: Tue, 28 Aug 2012 13:41:25 +0000 Subject: [PATCH] add test git-svn-id: svn+ssh://thomaspietrzak.com/var/svn/rep@89 47cf9a05-e0a8-4ed5-9e9b-101a649bc004 --- Arduino/wristbandTactons/wristbandTactons.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2