From e1be187d03aadd7174c8b4b08d2f43a7702dd744 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 30 Mar 2019 01:55:18 +0000 Subject: [PATCH] - serial test is more robust now git-svn-id: http://moon:8086/svn/projects/HendiControl@172 fda53097-d464-4ada-af97-ba876c37ca34 --- Control/brewpi/serial_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Control/brewpi/serial_test.py b/Control/brewpi/serial_test.py index e2e0e0b..4c41bec 100644 --- a/Control/brewpi/serial_test.py +++ b/Control/brewpi/serial_test.py @@ -52,8 +52,9 @@ if __name__ == '__main__': sys.stdout.flush() - reset() + ser.readline() ser.flushInput() + reset() print("\nStart application") print(ser.readline().decode('utf-8'))