[YunSerialTerminal example]: corrected the CRC in the Bridge shutdown command

This commit is contained in:
Fede85 2014-03-13 11:44:44 +01:00
parent d2ef583c2c
commit 475ee9fde5
1 changed files with 1 additions and 1 deletions

View File

@ -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