Script execution

This commit is contained in:
gac-S_Changer committed 2017-06-19 16:54:04 +02:00
1 parent 8c4925b46a
commit 0ffd36e299
1 file changed
+10 -1
+10 -1
View File
@@ -112,4 +112,13 @@ def fit(ydata, xdata = None, draw_plot = True):
print "Invalid gaussian fit: " + str(mean)
return (None, None, None)
context = get_context()
context = get_context()
def set_led_range(room_temp = True):
led_ctrl.config.maxValue = 0.25 if room_temp else 1.20
led_ctrl.config.save()