From b4d11992821b2e80ae045ac3dbceddad884c1a5c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 21 Jul 2012 00:05:27 +0200 Subject: [PATCH] Communication speed is 115200 --- host/ledbar.c | 2 +- host_python/send_to_serial.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/ledbar.c b/host/ledbar.c index d22f8b5..552ad19 100644 --- a/host/ledbar.c +++ b/host/ledbar.c @@ -341,7 +341,7 @@ int main(int argc, char* argv[]) if (fp) { struct termios t; tcgetattr(fileno(fp), &t); - cfsetspeed(&t, B38400); + cfsetspeed(&t, B115200); tcsetattr(fileno(fp), TCSADRAIN, &t); sleep(2); } diff --git a/host_python/send_to_serial.py b/host_python/send_to_serial.py index 380f8ad..41a4bde 100755 --- a/host_python/send_to_serial.py +++ b/host_python/send_to_serial.py @@ -23,7 +23,7 @@ def main(): except getopt.GetOptError: print_usage() return 1 - speed = 38400 + speed = 115200 number = 10 show_help = False for k, v in opts: