Script execution
This commit is contained in:
@@ -115,9 +115,9 @@ def fit(ydata, xdata = None, draw_plot = True):
|
||||
context = get_context()
|
||||
|
||||
|
||||
|
||||
#TODO: The range should be set automatically reading LN2 sensor.
|
||||
def set_led_range(room_temp = True):
|
||||
led_ctrl.config.maxValue = 0.25 if room_temp else 1.20
|
||||
led_ctrl.config.maxValue = 0.40 if room_temp else 1.20
|
||||
led_ctrl.config.save()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user