diff --git a/script/local.py b/script/local.py index 019c88c..83fe336 100644 --- a/script/local.py +++ b/script/local.py @@ -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() \ No newline at end of file +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() + + + \ No newline at end of file