From 16b4c1fce5b1023cfb8210f9c12f09c71d4a755d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 5 Sep 2010 21:43:06 -0400 Subject: fixed Serial crash bug --- examples/test-session.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/test-session.cpp b/examples/test-session.cpp index cfb81d0..bfc1e58 100644 --- a/examples/test-session.cpp +++ b/examples/test-session.cpp @@ -38,8 +38,12 @@ void setup() { /* Set up the LED to blink */ pinMode(LED_PIN, OUTPUT); + /* Start up the serial ports */ + Serial1.begin(9600); + Serial2.begin(9600); + Serial3.begin(9600); + /* Send a message out over COMM interface */ - Serial2.begin(9600); // if USART; 9600 is more compatible COMM.println(" "); COMM.println(" __ __ _ _"); COMM.println(" | \\/ | __ _ _ __ | | ___| |"); -- cgit v1.2.3