fix timings

This commit is contained in:
awe
2026-02-18 19:09:53 +03:00
parent 0b9eed566e
commit dd63383c39
2 changed files with 11 additions and 11 deletions

View File

@ -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,
}
)