Script execution

This commit is contained in:
gac-S_Changer
2017-06-19 16:56:48 +02:00
parent 0ffd36e299
commit 387379c25f

View File

@@ -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()