Skip to content

Commit

Permalink
Bootup logo settings (#1241)
Browse files Browse the repository at this point in the history
Adds ability to adjust the time shown for the bootup logo.
  • Loading branch information
discip authored Apr 2, 2022
1 parent 62dd2ab commit 0b8192b
Show file tree
Hide file tree
Showing 42 changed files with 749 additions and 1,012 deletions.
24 changes: 18 additions & 6 deletions Documentation/Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ On device help text:

Temperature used in "boost mode"

### Setting: Heat on power up
### Setting: Start-up behavior

When the device powers up, should it enter into a special mode. These settings set it to either start into soldering mode, sleeping mode or auto mode (Enters into soldering mode on the first movement).

On device help text:

O=off | S=soldering temp | Z=standby at sleep temp until moved | R=standby without heating until moved

### Setting: Cooldown blink
### Setting: Cooldown flashing

If the idle screen should blink the tip temperature for attention while the tip is over 50°C. Intended as a 'tip is still hot' warning.

Expand All @@ -133,13 +133,13 @@ On device help text:

Start tip temperature offset calibration

### Setting: Factory reset?
### Setting: Restore factory settings?

Resets all settings and calibrations to factory defaults. Does NOT erase custom user boot up logo's.

On device help text:

Reset settings to default
Reset all settings to default

### Setting: Calibrate input voltage?

Expand Down Expand Up @@ -189,7 +189,7 @@ On device help text:

Maximum power the iron can use (W=watt)

### Setting: Reverse + - keys
### Setting: Swap + - keys

Swaps which button increments and decrements on temperature change screens.

Expand Down Expand Up @@ -285,7 +285,7 @@ On device help text:

Current firmware language

### Setting: Screen contrast
### Setting: Screen brightness

Display brightness. Higher values age the OLED faster due to burn-in. (However, it is notable that most of these screens die from other causes first.)

Expand All @@ -300,3 +300,15 @@ Inverts the entire OLED.
On device help text:

Invert the colours of the OLED screen

### Setting: Boot logo duration

Sets the duration of the boot logo from 1 second to 4 seconds.
- For static images this sets the time the logo is displayed for.
- For animations this sets the time the last frame is displayed for after the animation has been played.

The infinity icon sets a logo or the last frame of an animation to be displayed until a button is pressed.

On device help text:

Sets the duration for the boot logo (S=seconds)
20 changes: 7 additions & 13 deletions Translations/translation_BE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,17 @@
"languageCode": "BE",
"languageLocalName": "Беларуская",
"fonts": ["ascii_basic", "latin_extended", "cyrillic"],
"tempUnitFahrenheit": false,
"messages": {
"SettingsCalibrationDone": "Каліброўка закончана!",
"SettingsCalibrationWarning": "Перад тым, як працягнуць, каліласка, упэўнецеся, што джала мае комнатную тэмпературу!",
"SettingsResetWarning": "Вы ўпэннены, што жадаеце зкінуць налады да першапачатковых значэнняў?",
"UVLOWarningString": "НАПРУГА--",
"UndervoltageString": "Нізкая напруга",
"InputVoltageString": "Сілкаванне В: ",
"WarningTipTempString": "Тэмп. джала: ",
"BadTipString": "ДЖАЛА--",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Чаканне...",
"WarningSimpleString": "ГОРАЧА!",
"WarningAdvancedString": "!!! ГАРАЧАЕ !!!\n!!! ДЖАЛА !!!",
"SleepingTipAdvancedString": "Джала:",
"IdleTipString": "Джала:",
"IdleSetString": " ->",
"TipDisconnectedString": "ДЖАЛА АДЛУЧАНА",
"SolderingAdvancedPowerPrompt": "Сілкаванне: ",
"OffString": "Выкл.",
"YourGainMessage": "Прырост:"
"OffString": "Выкл."
},
"messagesWarn": {
"ResetOKMessage": "Скід OK",
Expand Down Expand Up @@ -51,8 +42,7 @@
"SettingSensitivityHigh": "В",
"SettingLockDisableChar": "А",
"SettingLockBoostChar": "Т",
"SettingLockFullChar": "П",
"SettingNAChar": "Н/Д"
"SettingLockFullChar": "П"
},
"menuGroups": {
"PowerMenu": {
Expand Down Expand Up @@ -208,6 +198,10 @@
"ColourInversion": {
"text2": ["Экран", "Інвертаваць"],
"desc": "Інвертаваць колеры OLED-экрана"
},
"LOGOTime": {
"text2": ["Boot logo", "duration"],
"desc": "Sets the duration for the boot logo (S=seconds)"
}
}
}
47 changes: 20 additions & 27 deletions Translations/translation_BG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,24 @@
"languageCode": "BG",
"languageLocalName": "Български",
"fonts": ["ascii_basic", "cyrillic"],
"tempUnitFahrenheit": false,
"messages": {
"SettingsCalibrationDone": "Калибрацията завършена!",
"SettingsCalibrationWarning": "Уверете се, че върха на поялника е със стайна температура преди да продължите!",
"SettingsResetWarning": "Сигурни ли сте, че искате да върнете фабричните настройки?",
"UVLOWarningString": "Ниско DC Напрежение",
"UndervoltageString": "Ниско Напрежение",
"InputVoltageString": "Входно V: ",
"WarningTipTempString": "Темп.: ",
"BadTipString": "ЛОШ ВРЪХ",
"SleepingSimpleString": "Сън",
"SleepingAdvancedString": "Хър Хър Хър...",
"WarningSimpleString": "ОХ!",
"WarningAdvancedString": "ВНИМАНИЕ! ТОПЛО!",
"SleepingTipAdvancedString": "Връх:",
"IdleTipString": "Връх:",
"IdleSetString": " Настройка:",
"TipDisconnectedString": "ПРЕКЪСНАТ ВРЪХ",
"SolderingAdvancedPowerPrompt": "Захранване: ",
"OffString": "Изкл.",
"YourGainMessage": "Усилване:"
"OffString": "Изкл."
},
"messagesWarn": {
"ResetOKMessage": "Нулиране",
"SettingsResetMessage": ["Настройките бяха", "нулирани!"],
"NoAccelerometerMessage": ["No accelerometer", "detected!"],
"NoPowerDeliveryMessage": ["No USB-PD IC", "detected!"],
"LockingKeysString": " LOCKED",
"LockingKeysString": "LOCKED",
"UnlockingKeysString": "UNLOCKED",
"WarningKeysLockedString": "!LOCKED!",
"WarningThermalRunaway": ["Thermal", "Runaway"]
Expand All @@ -45,15 +36,13 @@
"SettingStartSolderingChar": "Р",
"SettingStartSleepChar": "С",
"SettingStartSleepOffChar": "П",
"SettingStartNoneChar": "F",
"SettingSensitivityOff": "O",
"SettingSensitivityLow": "L",
"SettingSensitivityMedium": "M",
"SettingSensitivityHigh": "H",
"SettingLockDisableChar": "D",
"SettingLockBoostChar": "B",
"SettingLockFullChar": "F",
"SettingNAChar": "N/A"
"SettingLockFullChar": "F"
},
"menuGroups": {
"PowerMenu": {
Expand Down Expand Up @@ -148,7 +137,7 @@
},
"PDNegTimeout": {
"text2": ["PD", "timeout"],
"desc": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers (0: disabled)"
"desc": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PowerLimit": {
"text2": ["Лимит на", "мощност"],
Expand All @@ -171,28 +160,28 @@
"desc": "Поддържане на интензивност на захранващия импулс"
},
"HallEffSensitivity": {
"text2": ["Hall Eff", "Sensitivity"],
"desc": "Sensitivity of the Hall effect sensor in detecting sleep (0=Изключено | 1=Слабо | ... | 9=Силно)"
"text2": ["Hall sensor", "sensitivity"],
"desc": "Sensitivity of the Hall effect sensor to detect sleep (0=Изключено | 1=Слабо | ... | 9=Силно)"
},
"LockingMode": {
"text2": ["Allow buttons", "locking"],
"desc": "When soldering, long press on both buttons lock them (D=Disable | B=Boost only | F=Full locking)"
"text2": ["Allow locking", "buttons"],
"desc": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"MinVolCell": {
"text2": ["Minimum", "voltage"],
"desc": "Minimum allowed voltage per cell (3S: 3 - 3,7V | 4-6S: 2,4 - 3,7V)"
},
"AnimLoop": {
"text2": ["Anim.", "loop"],
"desc": "Loop icon animations in root menu"
"desc": "Loop icon animations in main menu"
},
"AnimSpeed": {
"text2": ["Anim.", "speed"],
"desc": "Speed of icon animations in menu (O=off | L=low | M=medium | H=high)"
"desc": "Pace of icon animations in menu (O=off | S=slow | M=medium | F=fast)"
},
"PowerPulseWait": {
"text2": ["Power pulse", "wait time"],
"desc": "Time to wait before triggering every keep-awake pulse (x 2,5с)"
"text2": ["Power pulse", "delay"],
"desc": "Delay before keep-awake-pulse is triggered (x 2,5с)"
},
"PowerPulseDuration": {
"text2": ["Power pulse", "duration"],
Expand All @@ -203,12 +192,16 @@
"desc": ""
},
"Brightness": {
"text2": ["Screen", "Brightness"],
"desc": "Adjust the contrast/brightness of the OLED screen"
"text2": ["Screen", "brightness"],
"desc": "Adjust the brightness of the OLED screen"
},
"ColourInversion": {
"text2": ["Screen", "Invert"],
"text2": ["Invert", "screen"],
"desc": "Invert the colours of the OLED screen"
},
"LOGOTime": {
"text2": ["Boot logo", "duration"],
"desc": "Sets the duration for the boot logo (S=seconds)"
}
}
}
44 changes: 19 additions & 25 deletions Translations/translation_CS.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,24 @@
"languageCode": "CS",
"languageLocalName": "Český",
"fonts": ["ascii_basic", "latin_extended"],
"tempUnitFahrenheit": false,
"messages": {
"SettingsCalibrationDone": "Kalibrace dokončena!",
"SettingsCalibrationWarning": "Ujistěte se, že hrot má pokojovou teplotu!",
"SettingsResetWarning": "Opravdu chcete resetovat zařízení do továrního nastavení?",
"UVLOWarningString": "Nízké DC",
"UndervoltageString": "! Nízké napětí !",
"InputVoltageString": "Napětí: ",
"WarningTipTempString": "Teplota: ",
"BadTipString": "ŠP. HROT",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Režim spánku...",
"WarningSimpleString": "PÁLÍ",
"WarningAdvancedString": "!! HORKÝ HROT !!",
"SleepingTipAdvancedString": "Hrot:",
"IdleTipString": "Hrot:",
"IdleSetString": " Cíl:",
"TipDisconnectedString": "HROT NEPŘIPOJEN",
"SolderingAdvancedPowerPrompt": "Ohřev: ",
"OffString": "Vyp",
"YourGainMessage": "Zisk:"
"OffString": "Vyp"
},
"messagesWarn": {
"ResetOKMessage": "Reset OK",
"SettingsResetMessage": ["Tov. nas. obnov.", ""],
"NoAccelerometerMessage": ["No accelerometer", "detected!"],
"NoPowerDeliveryMessage": ["No USB-PD IC", "detected!"],
"LockingKeysString": " LOCKED",
"LockingKeysString": "LOCKED",
"UnlockingKeysString": "UNLOCKED",
"WarningKeysLockedString": "!LOCKED!",
"WarningThermalRunaway": ["Thermal", "Runaway"]
Expand All @@ -51,8 +42,7 @@
"SettingSensitivityHigh": "H",
"SettingLockDisableChar": "D",
"SettingLockBoostChar": "B",
"SettingLockFullChar": "F",
"SettingNAChar": "N/A"
"SettingLockFullChar": "F"
},
"menuGroups": {
"PowerMenu": {
Expand Down Expand Up @@ -170,28 +160,28 @@
"desc": "Puls pro udržení zařízení v chodu (kvůli power bankám)."
},
"HallEffSensitivity": {
"text2": ["Hall Eff", "Sensitivity"],
"desc": "Sensitivity of the Hall effect sensor in detecting sleep (0=Vyp | 1=Min | ... | 9=Max)"
"text2": ["Hall sensor", "sensitivity"],
"desc": "Sensitivity of the Hall effect sensor to detect sleep (0=Vyp | 1=Min | ... | 9=Max)"
},
"LockingMode": {
"text2": ["Allow buttons", "locking"],
"desc": "When soldering, long press on both buttons lock them (D=Disable | B=Boost only | F=Full locking)"
"text2": ["Allow locking", "buttons"],
"desc": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"MinVolCell": {
"text2": ["Minimum", "voltage"],
"desc": "Minimum allowed voltage per cell (3S: 3 - 3,7V | 4-6S: 2,4 - 3,7V)"
},
"AnimLoop": {
"text2": ["Anim.", "loop"],
"desc": "Loop icon animations in root menu"
"desc": "Loop icon animations in main menu"
},
"AnimSpeed": {
"text2": ["Anim.", "speed"],
"desc": "Speed of icon animations in menu (O=off | L=low | M=medium | H=high)"
"desc": "Pace of icon animations in menu (O=off | P=slow | M=medium | R=fast)"
},
"PowerPulseWait": {
"text2": ["Power pulse", "wait time"],
"desc": "Time to wait before triggering every keep-awake pulse (x 2,5s)"
"text2": ["Power pulse", "delay"],
"desc": "Delay before keep-awake-pulse is triggered (x 2,5s)"
},
"PowerPulseDuration": {
"text2": ["Power pulse", "duration"],
Expand All @@ -202,12 +192,16 @@
"desc": ""
},
"Brightness": {
"text2": ["Screen", "Brightness"],
"desc": "Adjust the contrast/brightness of the OLED screen"
"text2": ["Screen", "brightness"],
"desc": "Adjust the brightness of the OLED screen"
},
"ColourInversion": {
"text2": ["Screen", "Invert"],
"text2": ["Invert", "screen"],
"desc": "Invert the colours of the OLED screen"
},
"LOGOTime": {
"text2": ["Boot logo", "duration"],
"desc": "Sets the duration for the boot logo (S=seconds)"
}
}
}
Loading

0 comments on commit 0b8192b

Please sign in to comment.