mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
Merge pull request #1931 from Fede85/ide-1.5.x
[YunSerialTerminal example]: corrected the CRC in the Bridge shutdown co...
This commit is contained in:
commit
4672eee6e6
@ -66,7 +66,7 @@ void loop() {
|
||||
Serial1.begin(500000); // set speed to 500000
|
||||
Serial.println("Speed set to 500000");
|
||||
} else if (c == '~') {
|
||||
Serial1.write((uint8_t *)"\xff\0\0\x05XXXXX\x0d\xaf", 11);
|
||||
Serial1.write((uint8_t *)"\xff\0\0\x05XXXXX\x7f\xf9", 11);
|
||||
Serial.println("Sending bridge's shutdown command");
|
||||
} else { // any other key pressed?
|
||||
Serial1.write('~'); // write '~' to Linino
|
||||
|
Loading…
x
Reference in New Issue
Block a user