You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/components/display/st7701s.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,9 @@ display:
67
67
68
68
- **init_sequence** (*Optional*, A list of byte arrays): Specifies the init sequence for the display
69
69
- **data_pins** (**Required**): A list of pins used for the databus. Specified in 3 groups.
70
-
71
70
- **red** (**Required**, [Pin Schema](#config-pin_schema)): Exactly 5 pin numbers for the red databits, listed from least to most significant bit.
72
71
- **green** (**Required**, [Pin Schema](#config-pin_schema)): Exactly 6 pin numbers for the green databits, listed from least to most significant bit.
73
72
- **blue** (**Required**, [Pin Schema](#config-pin_schema)): Exactly 5 pin numbers for the blue databits, listed from least to most significant bit.
74
-
75
73
- **de_pin** (**Required**, [Pin Schema](#config-pin_schema)): The DE pin.
76
74
- **dc_pin** (*Optional*, [Pin Schema](#config-pin_schema)): The DC pin.
77
75
- **pclk_pin** (**Required**, [Pin Schema](#config-pin_schema)): The PCLK pin.
@@ -92,21 +90,15 @@ display:
92
90
- **id** (*Optional*, [ID](#config-id)): Manually specify the ID used for code generation.
93
91
- **color_order** (*Optional*): Should be one of `bgr` (default) or `rgb`.
94
92
- **dimensions** (**Required**): Dimensions of the screen, specified either as *width* **x** *height* (e.g `320x240` ) or with separate config keys.
95
-
96
93
- **height** (**Required**, int): Specifies height of display in pixels.
97
94
- **width** (**Required**, int): Specifies width of display.
98
95
- **offset_width** (*Optional*, int): Specify an offset for the x-direction of the display, typically used when an LCD is smaller than the maximum supported by the driver chip. Default is 0
99
96
- **offset_height** (*Optional*, int): Specify an offset for the y-direction of the display. Default is 0.
100
-
101
-
- **data_rate** (*Optional*): Set the data rate of the SPI interface to the display. One of `80MHz`, `40MHz`,
102
-
103
-
`20MHz`, `10MHz`, `5MHz`, `2MHz`, `1MHz` (default), `200kHz`, `75kHz` or `1kHz`.
104
-
97
+
- **data_rate** (*Optional*): Set the data rate of the SPI interface to the display. One of `80MHz`, `40MHz`, `20MHz`, `10MHz`, `5MHz`, `2MHz`, `1MHz` (default), `200kHz`, `75kHz` or `1kHz`.
105
98
- **spi_mode** (*Optional*): Set the mode for the SPI interface to the display. Default is `MODE0` but some displays require `MODE3`.
106
99
- **invert_colors** (*Optional*): With this boolean option you can invert the display colors. **Note** some of the displays have this option set automatically to true and can't be changed.
107
100
- **rotation** (*Optional*): Rotate the display presentation in software. Choose one of `0°`, `90°`, `180°`, or `270°`. This option cannot be used with `transform`.
108
101
- **transform** (*Optional*): Transform the display presentation using hardware. All defaults are `false`. This option cannot be used with `rotation`.
109
-
110
102
- **mirror_x** (*Optional*, boolean): If true, mirror the x axis.
111
103
- **mirror_y** (*Optional*, boolean): If true, mirror the y axis.
112
104
- **lambda** (*Optional*, [lambda](#config-lambda)): The lambda to use for rendering the content on the display.
0 commit comments