aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-30 18:37:01 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-30 18:37:01 -0400
commit324c5d0efd46841a0ce1b24d9ece4e4bc290a7d4 (patch)
tree5f7a1bcf6c386d54b35c908a8ad8df0e722ea389 /examples
parent2306646c79ba79614957d464238b3006ae164924 (diff)
downloadlibrambutan-324c5d0efd46841a0ce1b24d9ece4e4bc290a7d4.tar.gz
librambutan-324c5d0efd46841a0ce1b24d9ece4e4bc290a7d4.zip
test-session.cpp: Tweak output.
Print input as if it were an ASCII character, not a number.
Diffstat (limited to 'examples')
-rw-r--r--examples/test-session.cpp2
1 files changed, 1 insertions, 1 deletions
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':