From 324c5d0efd46841a0ce1b24d9ece4e4bc290a7d4 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 30 Aug 2011 18:37:01 -0400 Subject: test-session.cpp: Tweak output. Print input as if it were an ASCII character, not a number. --- examples/test-session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test-session.cpp b/examples/test-session.cpp index 37255c2..1a53c66 100644 --- a/examples/test-session.cpp +++ b/examples/test-session.cpp @@ -81,7 +81,7 @@ void loop () { while (SerialUSB.available()) { uint8 input = SerialUSB.read(); - SerialUSB.println(input); + SerialUSB.println((char)input); switch(input) { case '\r': -- cgit v1.2.3