inspired from various code source, including https://github.com/adafruit/Adafruit-ST7735-Library
More...
Go to the source code of this file.
|
#define | DCX_COMMAND 0 |
| level defined as command on the data/Command wire
|
|
#define | DCX_DATA 1 |
| level defined as data on the data/Command wire
|
|
#define | ST7735_144_128x128_column_offset 2 |
| hardware column offset between the TFT panel and the IC ST7735
|
|
#define | ST7735_144_128x128_row_offset_0_90 1 |
| hardware row offset between the TFT panel and the IC ST7735 for rotation = 0°, 90°
|
|
#define | ST7735_144_128x128_row_offset_180_270 3 |
| hardware row offset between the TFT panel and the IC ST7735 for rotation = 180°, 270°
|
|
#define | ST7735_177_160x128_column_offset 0 |
| hardware column offset between the TFT panel and the IC ST7735
|
|
#define | ST7735_177_160x128_row_offset 0 |
| hardware row offset between the TFT panel and the IC ST7735
|
|
inspired from various code source, including https://github.com/adafruit/Adafruit-ST7735-Library
- Author
- xiansnn (xians.nosp@m.nn@h.nosp@m.otmai.nosp@m.l.co.nosp@m.m)
- Version
- 0.1
- Date
- 2025-03-29
- Copyright
- Copyright (c) 2025
◆ ST7735DisplayType
tag used to ru the correct init code
Enumerator |
---|
ST7735_144_128_RGB_128_GREENTAB | LCD TFT 1"44 128(RGB)x128 green_tab configuration.
|
ST7735_177_160_RGB_128_GREENTAB | LCD TFT 1"77 160(RGB)x128 green_tab configuration.
|
◆ ST7735Rotation
code indicates rotation of the display (Portrait, paysage, upside-down)
Enumerator |
---|
_0 | no rotation applied
|
_90 | rotate 90° clockwise
|
_180 | rotate 180° clockwise
|
_270 | rotate 270° clockwise
|