mirror of https://github.com/arendst/Tasmota.git
Updated Displays (markdown)
parent
19e401421a
commit
626cc6fe18
46
Displays.md
46
Displays.md
|
@ -8,7 +8,7 @@ All display commands:
|
|||
<a id="DisplayAddress"> </a> DisplayAddress | `0..255` = set display module address
|
||||
<a id="DisplayDimmer"> </a> DisplayDimmer | `0` = switch the display off<BR> `1..100` = switch the display on<BR>`0..100` = set display luminosity *(only on 8x8 Dot-Matrix displays)*
|
||||
<a id="DisplayMode"> </a> DisplayMode | `0..5` = set to display [predefined content](#displaymode-parameters) according to display type
|
||||
<a id="DisplayModel"> </a> DisplayModel | Set model of your display:<BR>`1` = [I2C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64 (default i2c addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module) 296x128 (software 3 wire SPI)<BR>`6` = [4.2 inch E-Paper Display](https://www.waveshare.com/wiki/4.2inch_e-Paper_Module) 400x300 (software 3 wire SPI)<BR>`7` = [SH1106](https://www.ebay.de/itm/1-3-OLED-Display-Weis-SH1106-128x64-I2C-Modul-Arduino-Raspberry-Pi/162572755829?hash=item25da176375:g:hdgAAOSwQKZdQZ10) OLED 128x32 (default i2c address `0x3c`)<BR>`8` = [ILI9488](https://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board) TFT 480x320 (hardware 3 wire SPI)<BR>`9` = [SSD1351](https://www.ebay.de/itm/1-5-128x128-OLED-Display-Modul-RGB-SPI-Interface-Arduino-Raspberry-Pi/123256209315?hash=item1cb2a47fa3:g:WtsAAOSwZb5bTfjF) color OLED 128x128 (hardware 3 wire SPI)<BR>`10` = [RA8867](https://www.buydisplay.com/default/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel) TFT LCD 1026x600 (hardware 4 wire SPI)
|
||||
<a id="DisplayModel"> </a> DisplayModel | Set model of your display:<BR>`1` = [I2C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64 (default i2c addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module) 296x128 (software 3 wire SPI)<BR>`6` = [4.2 inch E-Paper Display](https://www.waveshare.com/wiki/4.2inch_e-Paper_Module) 400x300 (software 3 wire SPI)<BR>`7` = [SH1106](https://www.ebay.de/itm/1-3-OLED-Display-Weis-SH1106-128x64-I2C-Modul-Arduino-Raspberry-Pi/162572755829?hash=item25da176375:g:hdgAAOSwQKZdQZ10) OLED 128x64 (default i2c address `0x3c`)<BR>`8` = [ILI9488](https://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board) TFT 480x320 (hardware 3 wire SPI)<BR>`9` = [SSD1351](https://www.ebay.de/itm/1-5-128x128-OLED-Display-Modul-RGB-SPI-Interface-Arduino-Raspberry-Pi/123256209315?hash=item1cb2a47fa3:g:WtsAAOSwZb5bTfjF) color OLED 128x128 (hardware 3 wire SPI)<BR>`10` = [RA8867](https://www.buydisplay.com/default/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel) TFT LCD 1026x600 (hardware 4 wire SPI)
|
||||
<a id="DisplayRefresh"> </a> DisplayRefresh | `1..7` = set time in seconds to update predefined content when using `DisplayMode` ≠ `0`
|
||||
<a id="DisplaySize"> </a> DisplaySize | `1..4` = set display scale-up size (only for `DisplayModel 2` (SSD1306 OLED) and `DisplayModel 4` (ILI9341 TFT LCD))
|
||||
<a id="DisplayRotate"> </a> DisplayRotate | Set rotation angle<BR> `0` = 0°<BR> `1` = 90°<BR> `2` = 180°<BR> `3` = 270°
|
||||
|
@ -85,9 +85,9 @@ and either x or x for the horizontal position. Neither x nor y are advanced/upda
|
|||
`p _p_` = pad text with spaces, positiv values align left, negativ values
|
||||
align right <BR>
|
||||
`s _p_` = set text scaling for classic GFX font (scaling factor 1...N)<BR>
|
||||
`f _p_` = set font (1=12, 2=24,(opt 3=8)) if font==0 the classic GFX font is used<BR>
|
||||
`C _p_` = set foreground color (0,1) for black or white<BR>
|
||||
`B _p_` = set background color (0,1) for black or white<BR>
|
||||
`f _p_` = set font (1=12, 2=24,(opt 3=8)) if font==0 the classic GFX font is used, if font==7 RA8876 internal font is used <BR>
|
||||
`C _p_` = set foreground color (0,1) for black or white and RGB decimal code for color<BR>
|
||||
`B _p_` = set background color (0,1) for black or white and RGB decimal code for color<BR>
|
||||
`Ci _p_` = set foreground index color (0..18) for color displays (see index color table below)<BR>
|
||||
`Bi _p_` = set background index color (0..18) for color displays (see index color table below)<BR>
|
||||
`w _p_` = draws an analog watch with radius p (#define USE_AWATCH) <BR>
|
||||
|
@ -111,25 +111,25 @@ bt = button text (must end with a colon :) (max 9 chars)
|
|||
|
||||
### Index colors selected in the color panels ILI9488,SSD1351,RA8876 with Ci and Bi
|
||||
|
||||
>0=ILI9488\_BLACK
|
||||
1=ILI9488\_WHITE
|
||||
2=ILI9488\_RED
|
||||
3=ILI9488\_GREEN
|
||||
4=ILI9488\_BLUE
|
||||
5=ILI9488\_CYAN
|
||||
6=ILI9488\_MAGENTA
|
||||
7=ILI9488\_YELLOW
|
||||
8=ILI9488\_NAVY
|
||||
9=ILI9488\_DARKGREEN
|
||||
10=ILI9488\_DARKCYAN
|
||||
11=ILI9488\_MAROON
|
||||
12=ILI9488\_PURPLE
|
||||
13=ILI9488\_OLIVE
|
||||
14=ILI9488\_LIGHTGREY
|
||||
15=ILI9488\_DARKGREY
|
||||
16=ILI9488\_ORANGE
|
||||
17=ILI9488\_GREENYELLOW
|
||||
18=ILI9488\_PINK
|
||||
>0=COLOR\_BLACK
|
||||
1=COLOR\_WHITE
|
||||
2=COLOR\_RED
|
||||
3=COLOR\_GREEN
|
||||
4=COLOR\_BLUE
|
||||
5=COLOR\_CYAN
|
||||
6=COLOR\_MAGENTA
|
||||
7=COLOR\_YELLOW
|
||||
8=COLOR\_NAVY
|
||||
9=COLOR\_DARKGREEN
|
||||
10=COLOR\_DARKCYAN
|
||||
11=COLOR\_MAROON
|
||||
12=COLOR\_PURPLE
|
||||
13=COLOR\_OLIVE
|
||||
14=COLOR\_LIGHTGREY
|
||||
15=COLOR\_DARKGREY
|
||||
16=COLOR\_ORANGE
|
||||
17=COLOR\_GREENYELLOW
|
||||
18=COLOR\_PINK
|
||||
|
||||
## Notes about e-Paper displays
|
||||
|
||||
|
|
Loading…
Reference in New Issue