aboutsummaryrefslogtreecommitdiff
path: root/test_serial.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_serial.py')
-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