Commit d9708bfe authored by Jan Pospisil's avatar Jan Pospisil

driver updated

parent a84dd5bc
......@@ -146,8 +146,7 @@ def SelectClock(clock):
def SetRatio(ratio):
if (ratio < 1) or (ratio > 32):
raise Exception("Bad ratio!")
# TODO: address has to be changed from 'clock_divider' to 'clock_ratio_m1' with new version of the driver
WbWrite('clock_divider', ratio-1)
WbWrite('clock_ratio_m1', ratio-1)
# voltage in [V]
def SetTriggerThreshold(voltage):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment