#include "Display.h"
#include "Classes.h"
Setting DisplayBrightness("Display", 250, 100, 10);
Setting ButtonBrightness("Button", 250, 100, 10);
Setting HapticStrength("Haptic", 100, 40, 5);
Setting Coolness("Coolness", 250, 200, 5);
MenuHandler Menu("Settings", 2, 3, 4);
void setup() {
Serial.begin(9600);
tft.begin();
Menu.init();
Menu.add(&DisplayBrightness);
Menu.add(&ButtonBrightness);
Menu.add(&HapticStrength);
Menu.add(&Coolness);
}
void loop() {
Menu.update();
}