Difference between revisions of "Unit IPSTFT19"
From Ultibo.org
Line 194: | Line 194: | ||
</div></div> | </div></div> | ||
<br /> | <br /> | ||
− | |||
Return to [[Unit_Reference|Unit Reference]] | Return to [[Unit_Reference|Unit Reference]] |
Latest revision as of 05:16, 14 November 2023
Return to Unit Reference
Contents
[hide]Description
Adafruit 1.9" 320x170 Color IPS TFT Display LCD Driver unit
Adafruit 1.9" 320x170 Color IPS TFT display has 320x170 16-bit full-color pixels and is an IPS display, so the color looks great up to 80 degrees off-axis in any direction.
The TFT driver (Sitronix ST7789) is very similar to the popular ST7735.
Details:
ST7789
Width: 170 Height: 320
SPI Mode: 0 SPI Frequency: 42000000 SPI Chip Select: SPI_CS_0
DC GPIO: GPIO_PIN_25 (Pull: GPIO_PULL_NONE) RST GPIO: GPIO_PIN_27 (Pull: GPIO_PULL_NONE)
Backlight GPIO: GPIO_PIN_18 (GPIO / PWM)
Constants
[Expand]
IPSTFT19 specific constants
IPSTFT19_*
[Expand]
IPSTFT19 GPIO
IPSTFT19_LCD_*
Type definitions
IPSTFT19 specific types
Public variables
IPSTFT19 specific variables
IPSTFT19_SPI_DEVICE:String = 'SPI0';
|
IPSTFT19_LCD_CHIPSELECT:Word = SPI_CS_0;
|
IPSTFT19_BL_PWM_ENABLE:LongBool = True;
|
Function declarations
Initialization functions
[Expand]
function IPSTFT19Start(Rotation:LongWord; const Device:String; DisplaySelect:word):THandle;
Description: Start the IPSTFT19 driver and Framebuffer device associated with the display
[Expand]
function IPSTFT19Stop(Handle:THandle):Boolean;
Description: Stop the IPSTFT19 driver and Framebuffer device associated with the display
Return to Unit Reference