mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
[YunSerialTerminal example]: corrected the CRC in the Bridge shutdown command
This commit is contained in:
parent
d2ef583c2c
commit
475ee9fde5
@ -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