diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-02 14:38:44 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-02 14:38:44 -0400 |
commit | bb92df37075aa1d1fbcc421ae4d4dcf215da406b (patch) | |
tree | d136cb8a7b39296b541db51787d40650499505d3 /test_serial.py | |
parent | 934e791190009e1a67ae8084eb1e2c71b2723f76 (diff) | |
download | qolab-bb92df37075aa1d1fbcc421ae4d4dcf215da406b.tar.gz qolab-bb92df37075aa1d1fbcc421ae4d4dcf215da406b.zip |
updated test
Diffstat (limited to 'test_serial.py')
-rwxr-xr-x | test_serial.py | 2 |
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
|