Improved web page and fixed some bugs.

- JOYSTICK_DEBUG was left on...turned it off
 - Web page fields now have
type='number' so they bring up a number keyboard
 - Refresh the
brightness when it changes.
This commit is contained in:
bdring
2018-04-02 20:55:57 -05:00
parent 420e9e52a0
commit f2318daa6d
4 changed files with 31 additions and 14 deletions

View File

@@ -225,6 +225,7 @@ void change_setting(char paramCode, uint16_t newValue)
case 'B': // brightness
user_settings.led_brightness = constrain(newValue, MIN_BRIGHTNESS, MAX_BRIGHTNESS);
FastLED.setBrightness(user_settings.led_brightness);
settings_eeprom_write();
break;