Expand list of custom characters
This commit is contained in:
parent
6d5e645c1f
commit
1c260f94a0
|
|
@ -172,6 +172,7 @@ private:
|
||||||
|
|
||||||
//Custom characters defined in the first 8 characters of the LCD
|
//Custom characters defined in the first 8 characters of the LCD
|
||||||
#define LCD_STR_ARROW_RIGHT "\x7E" //from the default character set
|
#define LCD_STR_ARROW_RIGHT "\x7E" //from the default character set
|
||||||
|
#define LCD_STR_ARROW_LEFT "\x7F" //from the default character set
|
||||||
#define LCD_STR_BEDTEMP "\x80"
|
#define LCD_STR_BEDTEMP "\x80"
|
||||||
#define LCD_STR_DEGREE "\x81"
|
#define LCD_STR_DEGREE "\x81"
|
||||||
#define LCD_STR_THERMOMETER "\x82"
|
#define LCD_STR_THERMOMETER "\x82"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,25 @@
|
||||||
# Mapping from LCD source encoding to unicode characters
|
# Mapping from LCD source encoding to unicode characters
|
||||||
CUSTOM_CHARS = {
|
CUSTOM_CHARS = {
|
||||||
'\x06': '⏬',
|
# Dynamic characters
|
||||||
'\x04': '🔃',
|
'\x80': '🄷',
|
||||||
'\xdf': '°',
|
'\x81': '°',
|
||||||
|
'\x82': '🌡',
|
||||||
|
'\x83': '⬏',
|
||||||
|
'\x84': '🔃',
|
||||||
|
'\x85': '🗀',
|
||||||
|
'\x86': '»',
|
||||||
|
'\x87': '🕑',
|
||||||
|
'\x88': '⏬',
|
||||||
|
'\x89': '✔',
|
||||||
|
|
||||||
|
# HD44780 A00 font:
|
||||||
|
'\x7e': '→',
|
||||||
|
'\x7f': '←',
|
||||||
'\xe1': 'ä',
|
'\xe1': 'ä',
|
||||||
'\xe4': 'µ', #on keyboard AltGr+m it is \xC2\xB5
|
'\xe4': 'µ', #on keyboard AltGr+m it is \xC2\xB5
|
||||||
'\xef': 'ö',
|
'\xef': 'ö',
|
||||||
'\xf5': 'ü',
|
'\xf5': 'ü',
|
||||||
|
'\xff': '█',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Charaters to be remapped prior to source-encoding transformation
|
# Charaters to be remapped prior to source-encoding transformation
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue