mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Add SSD1306 64x48 display (#136)
This commit is contained in:
parent
85d70eb5a0
commit
ffdcddc18e
@ -18,9 +18,11 @@ MODELS = {
|
|||||||
'SSD1306_128X32': display.display_ns.SSD1306_MODEL_128_32,
|
'SSD1306_128X32': display.display_ns.SSD1306_MODEL_128_32,
|
||||||
'SSD1306_128X64': display.display_ns.SSD1306_MODEL_128_64,
|
'SSD1306_128X64': display.display_ns.SSD1306_MODEL_128_64,
|
||||||
'SSD1306_96X16': display.display_ns.SSD1306_MODEL_96_16,
|
'SSD1306_96X16': display.display_ns.SSD1306_MODEL_96_16,
|
||||||
|
'SSD1306_64X48': display.display_ns.SSD1306_MODEL_64_48,
|
||||||
'SH1106_128X32': display.display_ns.SH1106_MODEL_128_32,
|
'SH1106_128X32': display.display_ns.SH1106_MODEL_128_32,
|
||||||
'SH1106_128X64': display.display_ns.SH1106_MODEL_128_64,
|
'SH1106_128X64': display.display_ns.SH1106_MODEL_128_64,
|
||||||
'SH1106_96X16': display.display_ns.SH1106_MODEL_96_16,
|
'SH1106_96X16': display.display_ns.SH1106_MODEL_96_16,
|
||||||
|
'SH1106_64X48': display.display_ns.SH1106_MODEL_64_48,
|
||||||
}
|
}
|
||||||
|
|
||||||
SSD1306_MODEL = vol.All(vol.Upper, vol.Replace(' ', '_'), cv.one_of(*MODELS))
|
SSD1306_MODEL = vol.All(vol.Upper, vol.Replace(' ', '_'), cv.one_of(*MODELS))
|
||||||
|
Loading…
Reference in New Issue
Block a user