Updated YunSerialTerminal

This commit is contained in:
tigoe 2013-05-30 23:14:16 -04:00
parent 04d19946f4
commit 765a975414
1 changed files with 3 additions and 5 deletions

View File

@ -20,11 +20,7 @@
This example code is in the public domain. This example code is in the public domain.
*/ */
<<<<<<< HEAD long baud = 115200;
long baud = 9600;
=======
long baud = 57600;
>>>>>>> 113e28d86188899e529ced3fed04e4116e3f5a88
// Pin 13 has an LED connected on most Arduino boards. // Pin 13 has an LED connected on most Arduino boards.
// give it a name: // give it a name:
@ -35,6 +31,8 @@ int ledState = HIGH; // whether the LED is high or low
void setup() { void setup() {
Serial.begin(baud); // open serial connection to Linino Serial.begin(baud); // open serial connection to Linino
Serial1.begin(baud); // open serial connection via USB-Serial Serial1.begin(baud); // open serial connection via USB-Serial
Serial.println("Prova"); // Hello USB
Serial1.println("Prova1"); // Hello Linino
// initialize the digital pin as an output. // initialize the digital pin as an output.
pinMode(led, OUTPUT); pinMode(led, OUTPUT);