From 13c2ed8e9a7440d91308aac6aacaa0677dff554d Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 30 May 2013 17:28:43 +0200 Subject: Yùn console now runs at 57600 baud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/Bridge/Bridge.h | 2 +- libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/Bridge/Bridge.h b/libraries/Bridge/Bridge.h index f85fa07..dbe9c7d 100644 --- a/libraries/Bridge/Bridge.h +++ b/libraries/Bridge/Bridge.h @@ -94,7 +94,7 @@ public: } void begin() { - serial.begin(115200); + serial.begin(57600); BridgeClass::begin(); } diff --git a/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino b/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino index dea2ef5..1df7784 100644 --- a/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino +++ b/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino @@ -20,7 +20,7 @@ This example code is in the public domain. */ -long baud = 115200; +long baud = 57600; // Pin 13 has an LED connected on most Arduino boards. // give it a name: @@ -31,8 +31,6 @@ int ledState = HIGH; // whether the LED is high or low void setup() { Serial.begin(baud); // open serial connection to Linino 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. pinMode(led, OUTPUT); -- cgit v1.2.3-18-g5258