aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-05-30 17:28:43 +0200
committerCristian Maglie <c.maglie@bug.st>2013-05-30 17:28:43 +0200
commit13c2ed8e9a7440d91308aac6aacaa0677dff554d (patch)
tree341e9db02057c158a6bfc899045b2dc6596bc708
parent7fdc81d145c7717aaa6b48952b46542971844086 (diff)
Yùn console now runs at 57600 baud
-rw-r--r--libraries/Bridge/Bridge.h2
-rw-r--r--libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino4
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);