forked from M-Labs/thermostat
Max current plus-or-minus better informs
This commit is contained in:
parent
02619f1338
commit
6f40adb19d
|
@ -32,7 +32,7 @@ THERMOSTAT_PARAMETERS = [[
|
||||||
'suffix': '°C', 'commands': [f'pid {ch} target {{value}}'], 'payload': ch},
|
'suffix': '°C', 'commands': [f'pid {ch} target {{value}}'], 'payload': ch},
|
||||||
]},
|
]},
|
||||||
{'name': 'Output Config', 'expanded': False, 'type': 'group', 'children': [
|
{'name': 'Output Config', 'expanded': False, 'type': 'group', 'children': [
|
||||||
{'name': 'Max Current', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 3), 'siPrefix': True,
|
{'name': 'Max Current', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 3), 'siPrefix': True, 'prefix': '±',
|
||||||
'suffix': 'A', 'commands': [f'pwm {ch} max_i_pos {{value}}', f'pwm {ch} max_i_neg {{value}}',
|
'suffix': 'A', 'commands': [f'pwm {ch} max_i_pos {{value}}', f'pwm {ch} max_i_neg {{value}}',
|
||||||
f'pid {ch} output_min -{{value}}', f'pid {ch} output_max {{value}}']},
|
f'pid {ch} output_min -{{value}}', f'pid {ch} output_max {{value}}']},
|
||||||
{'name': 'Max Voltage', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 5), 'siPrefix': True,
|
{'name': 'Max Voltage', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 5), 'siPrefix': True,
|
||||||
|
|
Loading…
Reference in New Issue