fix timings
This commit is contained in:
@ -57,14 +57,14 @@ def example_variation_mode(port: str = None):
|
||||
ctrl.start_variation(
|
||||
variation_type=VariationType.CHANGE_CURRENT_LD1,
|
||||
params={
|
||||
'min_value': 20.0, # mA
|
||||
'max_value': 50.0, # mA
|
||||
'step': 0.5, # mA
|
||||
'time_step': 50, # µs
|
||||
'delay_time': 5, # ms
|
||||
'static_temp1': 25.0,
|
||||
'static_temp2': 30.0,
|
||||
'static_current1': 35.0,
|
||||
'min_value': 33.0, # mA (matches firmware initial current)
|
||||
'max_value': 60.0, # mA
|
||||
'step': 0.05, # mA
|
||||
'time_step': 50, # µs (20-100), Word 6 = time_step × 100
|
||||
'delay_time': 10, # ms (3-10), Word 10 = Tau
|
||||
'static_temp1': 28.0,
|
||||
'static_temp2': 28.9,
|
||||
'static_current1': 33.0,
|
||||
'static_current2': 35.0,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user