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
@@ -125,7 +126,7 @@ most of the configuration will be set by default, but can be overridden if neede
125
126
126
127
- **invert_colors** (*Optional*, boolean): Specifies whether the display colors should be inverted. Options are `true` or `false`. Defaults to `false`.
127
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.
128
-
- **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. Options are:
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:
129
130
130
131
- **swap_xy** (**Required**, boolean): If true, exchange the x and y axes.
131
132
- **mirror_x** (**Required**, boolean): If true, mirror the x axis.
@@ -201,6 +202,8 @@ dimensions:
201
202
width: 320
202
203
```
203
204
205
+
When using the `CUSTOM` model with rotation, if the chip does not support hardware transform use `transform: disabled` to disable hardware transform and ensure software rotation.
206
+
204
207
## LCD Backlights
205
208
206
209
Many displays have an integrated backlight, which may need to be turned on for the display to show. This backlight is not controlled
Copy file name to clipboardExpand all lines: content/components/usb_host.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
@@ -18,6 +18,7 @@ possible to configure devices directly in this component, but this has no applic
18
18
# Example configuration entry
19
19
usb_host:
20
20
enable_hubs: true
21
+
max_transfer_requests: 32# For high-throughput devices like USB UART at 115200+ baud
21
22
devices:
22
23
- id: device_0
23
24
vid: 0x1725
@@ -28,6 +29,7 @@ usb_host:
28
29
29
30
- **id** (*Optional*, [ID](#config-id)): The id to use for this component.
30
31
- **enable_hubs** (*Optional*, boolean): Whether to include support for hubs. Defaults to `false`.
32
+
- **max_transfer_requests** (*Optional*, int): Maximum number of concurrent USB transfer requests. Range: 1-32. Defaults to `16`. Increase this value for high-throughput devices (e.g., USB UART at 115200+ baud) if you see "All X transfer slots in use" errors.
31
33
- **devices** (*Optional*, list): A list of devices to configure.
0 commit comments