DisplayHeight/DisplayWidth

Michael Ingraham 2019-07-23 11:53:19 -04:00
parent 976c5a597a
commit 63d92eb8c5
1 changed files with 11 additions and 9 deletions

@ -517,17 +517,19 @@ OPTION<a id="knxJSON"></a>| OPTION Value| OPTION| OPTION Value
Command | Parameters
:--- | :---
Display |<a id="Display"></a>Show current display setting as JSON payload <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>
DisplayAddress|`0..255` = set display module address <a id="DisplayCols"></a>
DisplayCols|`1..44` = set number of display columns <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="DisplayFont"></a>
DisplayFont | (reserved command, currently unsupported) <a id="DisplayHeight"></a>
DisplayHeight|`<value>` = set display pixel height on supported devices <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` = [I<sup>2</sup>C 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 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) <a id="DisplayRefresh"></a>
DisplayRefresh|`1..7` = set time in seconds to update predefined content when using `DisplayMode` &ne; `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° <a id="DisplayText"></a>
DisplayText|`<value>` = for a full guide see [DisplayText use](displays#displaytext-use) <a id="DisplayCols"></a>
DisplayCols|`1..44` = set number of display columns <a id="DisplayRows"></a>
DisplayRows|`1..32` = set number of display rows <a id="DisplayFont"></a>
DisplayFont | (reserved command, currently unsupported)
DisplayRefresh|`1..7` = set time in seconds to update predefined content when using `DisplayMode` &ne; `0` <a id="DisplayRotate"></a>
DisplayRotate | Set rotation angle<BR> `0` = 0°<BR> `1` = 90°<BR> `2` = 180°<BR> `3` = 270° <a id="DisplayRows"></a>
DisplayRows|`1..32` = set number of display rows <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="DisplayText"></a>
DisplayText|`<value>` = for a full guide see [DisplayText use](displays#displaytext-use) <a id="DisplayWidth"></a>
DisplayWidth|`<value>` = set display pixel width on supported devices
#### DisplayMode Parameters
The display driver is able to display predefined setups of text or user defined text. To display text using `DisplayText` set `DisplayMode` to `0` (also `1` for `DisplayModel 3` (Dot-Matrix)).