STM32LTDC: Update readme.md
This commit is contained in:
parent
6d6ce043d0
commit
cbf9c22adf
@ -13,9 +13,6 @@ To use this driver:
|
|||||||
3. Add a `board_STM32LTDC.h` to you project directory (or board directory)
|
3. Add a `board_STM32LTDC.h` to you project directory (or board directory)
|
||||||
based on one of the templates.
|
based on one of the templates.
|
||||||
|
|
||||||
# Limitations
|
|
||||||
Currently, both `gOrientationPortrait` and `gOrientationLandscape` are not supported by this driver.
|
|
||||||
|
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
Configuration options available in `gfxconf.h`:
|
Configuration options available in `gfxconf.h`:
|
||||||
@ -28,6 +25,7 @@ Configuration options available in `gfxconf.h`:
|
|||||||
| `STM32LTDC_USE_DOUBLEBUFFERING` | `GFXOFF` | Whether to use double buffering. See the corresponding section below. |
|
| `STM32LTDC_USE_DOUBLEBUFFERING` | `GFXOFF` | Whether to use double buffering. See the corresponding section below. |
|
||||||
| `STM32LTDC_USE_RGB565` | `GFXOFF` | Whether to use RGB565 instead of RGB888. |
|
| `STM32LTDC_USE_RGB565` | `GFXOFF` | Whether to use RGB565 instead of RGB888. |
|
||||||
|
|
||||||
|
|
||||||
# 2nd layer
|
# 2nd layer
|
||||||
To use the 2nd LTDC layer:
|
To use the 2nd LTDC layer:
|
||||||
- set `STM32LTDC_USE_LAYER2` to `GFXON` in `gfxconf.h`.
|
- set `STM32LTDC_USE_LAYER2` to `GFXON` in `gfxconf.h`.
|
||||||
@ -39,6 +37,7 @@ For more information, see:
|
|||||||
- https://wiki.ugfx.io/index.php/Multiple_displays#Example_-_Same_controller
|
- https://wiki.ugfx.io/index.php/Multiple_displays#Example_-_Same_controller
|
||||||
- https://wiki.ugfx.io/index.php/Multiple_displays#Access_the_displays
|
- https://wiki.ugfx.io/index.php/Multiple_displays#Access_the_displays
|
||||||
|
|
||||||
|
|
||||||
# Double buffering
|
# Double buffering
|
||||||
To use double buffering:
|
To use double buffering:
|
||||||
- set `STM32LTDC_USE_DOUBLEBUFFERING` to `GFXON` in `gfxconf.h`.
|
- set `STM32LTDC_USE_DOUBLEBUFFERING` to `GFXON` in `gfxconf.h`.
|
||||||
|
Loading…
Reference in New Issue
Block a user