- config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, "");
- config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, "");
- config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, "");
- config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, ("Disable", "Enable") );
+ if detected:
+ def setLCDbright(configElement):
+ ilcd.setBright(configElement.value);
+
+ def setLCDcontrast(configElement):
+ ilcd.setContrast(configElement.value);
+
+ def setLCDinverted(configElement):
+ ilcd.setInverted(configElement.value);