From 9ddf1132e0c73eb1bfe3def4135010a82774648e Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Mon, 13 Mar 2017 15:01:16 +0100 Subject: [PATCH] Startup --- script/test/onewire.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 script/test/onewire.py diff --git a/script/test/onewire.py b/script/test/onewire.py new file mode 100644 index 0000000..12d5418 --- /dev/null +++ b/script/test/onewire.py @@ -0,0 +1,12 @@ + + +onewire.flush() +onewire.write("get,owb,listall1\n") + +count = 1 +while (True): + print onewire.waitString("\n", 1000) + + print count + count = count + 1 + \ No newline at end of file