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/mipi_spi.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,8 @@ most of the configuration will be set by default, but can be overridden if neede
127
127
- **invert_colors** (*Optional*, boolean): Specifies whether the display colors should be inverted. Options are `true` or `false`. Defaults to `false`.
128
128
- **rotation** (*Optional*): Rotate the display presentation in software. Choose one of `0°`, `90°`, `180°`, or `270°`. If the driver chip supports hardware rotation for the given orientation this will be translated to the appropriate hardware command. If hardware rotation is not supported, the display will be rotated in software.
129
129
- **transform** (*Optional*): If `rotation` is not sufficient, use this to transform the display. If this option is specified, then the `dimensions` option must also be provided. The value can either be the string `disabled` to disable hardware transform, or a dictionary. Options are:
130
+
This option should not be used with `rotation`. For the `CUSTOM` model, use `transform: disabled`
131
+
if the display does not support it, which will prevent a `rotation` being translated to a hardware transform.
130
132
131
133
- **swap_xy** (**Required**, boolean): If true, exchange the x and y axes.
132
134
- **mirror_x** (**Required**, boolean): If true, mirror the x axis.
0 commit comments