Tasmota/tasmota/displaydesc
Stephan Hadinger 6b09dfed2d Rotate default orientation for M5StickC 2021-05-26 22:27:27 +02:00
..
ILI9341_M5Stack_display.ini LVGL complete support for uDisplay 2021-05-03 22:04:41 +02:00
ILI9341_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
ILI9342_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
ILI9488_XPT2046_display.ini rework of mapping 2021-05-11 00:26:14 -07:00
ILI9488_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
Lanbon_L8_display.ini Add display.ini file for the Lanbon L8 device. 2021-05-16 19:29:43 +02:00
M5stack_core2_display.ini after talking in Discord :-) 2021-05-08 17:48:53 +02:00
Odroid-go_display.ini Odroid-go display.ini 2021-05-08 11:13:05 +02:00
SD1306_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
SH1106_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
SSD1331_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
SSD1351_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
ST7735S_M5StickC_display.ini Rotate default orientation for M5StickC 2021-05-26 22:27:27 +02:00
ST7789_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
WS_epaper29_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
WS_epaper42_display.ini rename dispdesc.txt to display.ini 2021-05-01 18:33:43 +02:00
readme.md Layout fix 2021-05-22 18:00:41 +02:00

readme.md

Display Descriptor files for use with universal display driver.

Options to select a display driver:

  1. file system driven if UFILESYSTEM is in place (preferred option for normal use) to select a display rename the file to "display.ini" and put into flash file system.
  2. scripter driven as a special section >d in scripter. copy the file to a script section >d and place a ->displayreinit cmd into the >B section (preferred for developing or modifying display driver)
  3. rule buffer 3 driven copy descriptor to rule buffer number 3 but do not enable rule 3 (descriptor may not contain ANY spaces in this mode)
  4. compile the descriptor into driver.

convert the file to a string and place it into your user_config_override.h file

Example:

#define DSP_ROM_DESC \
":H,SH1106,128,64,1,I2C,3c,*,*,*\n" \
":S,0,1,1,0,40,20\n" \
":I\n" \
"AE\n" \
"D5,80\n" \
"A8,3f\n" \
"D3,00\n" \
"40\n" \
"8D,14\n" \
"20,00\n" \
"A1\n" \
"C8\n" \
"DA,12\n" \
"81,CF\n" \
"D9F1\n" \
"DB,40\n" \
"A4\n" \
"A6\n" \
"AF\n" \
":o,AE\n" \
":O,AF\n" \
":A,00,10,40,00,02\n" \
":i,A6,A7\n" \
"#\n"

for further info about display descriptors read the tasmota docs display part.

the current files define the standard resolutions. if you change the resolution settings sometimes you also have to change some register values in the init or address map section