aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-02 14:38:44 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-02 14:38:44 -0400
commitbb92df37075aa1d1fbcc421ae4d4dcf215da406b (patch)
treed136cb8a7b39296b541db51787d40650499505d3
parent934e791190009e1a67ae8084eb1e2c71b2723f76 (diff)
downloadpyExpControl-bb92df37075aa1d1fbcc421ae4d4dcf215da406b.tar.gz
pyExpControl-bb92df37075aa1d1fbcc421ae4d4dcf215da406b.zip
updated test
-rwxr-xr-xtest_serial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_serial.py b/test_serial.py
index 8587e19..f88302b 100755
--- a/test_serial.py
+++ b/test_serial.py
@@ -37,7 +37,7 @@ print(line)
start = datetime.now()
# resp = sendSerialCmd("print(node.heap())")
# resp = sendSerialCmd(""); # empty command
-resp = sendSerialCmd("Sb, muSb= rtctime.get(); print(4); Se, muSe =rtctime.get(); print(\"execution time: \" .. muSe-muSb .. \" muS\")")
+resp = sendSerialCmd("muSb= tmr.now(); setFreq(6.834e9); muSe =tmr.now(); print(\"execution time: \" .. muSe-muSb .. \" muS\")")
print(resp)
stop = datetime.now()
runTime = (stop-start).seconds + float((stop-start).microseconds)/1000000