mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
More steps for LCD brightness
This commit is contained in:
@@ -20,20 +20,52 @@ static const NotificationSequence sequence_note_c = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
#define BACKLIGHT_COUNT 5
|
||||
#define BACKLIGHT_COUNT 21
|
||||
const char* const backlight_text[BACKLIGHT_COUNT] = {
|
||||
"0%",
|
||||
"5%",
|
||||
"10%",
|
||||
"15%",
|
||||
"20%",
|
||||
"25%",
|
||||
"30%",
|
||||
"35%",
|
||||
"40%",
|
||||
"45%",
|
||||
"50%",
|
||||
"55%",
|
||||
"60%",
|
||||
"65%",
|
||||
"70%",
|
||||
"75%",
|
||||
"80%",
|
||||
"85%",
|
||||
"90%",
|
||||
"95%",
|
||||
"100%",
|
||||
};
|
||||
const float backlight_value[BACKLIGHT_COUNT] = {
|
||||
0.0f,
|
||||
0.00f,
|
||||
0.05f,
|
||||
0.10f,
|
||||
0.15f,
|
||||
0.20f,
|
||||
0.25f,
|
||||
0.5f,
|
||||
0.30f,
|
||||
0.35f,
|
||||
0.40f,
|
||||
0.45f,
|
||||
0.50f,
|
||||
0.55f,
|
||||
0.60f,
|
||||
0.65f,
|
||||
0.70f,
|
||||
0.75f,
|
||||
1.0f,
|
||||
0.80f,
|
||||
0.85f,
|
||||
0.90f,
|
||||
0.95f,
|
||||
1.00f,
|
||||
};
|
||||
|
||||
#define VOLUME_COUNT 5
|
||||
|
||||
Reference in New Issue
Block a user