Difference between revisions of "Unit IPSTFT19"

From Ultibo.org
Jump to: navigation, search
Line 30: Line 30:
 
----
 
----
  
''To be documented''
+
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''IPSTFT19 specific constants''' <code> IPSTFT19_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>IPSTFT19_FRAMEBUFFER_DESCRIPTION = 'Adafruit 1.9" IPS TFT';</code>
 +
| Description of IPSTFT19 device
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>IPSTFT19_SIGNATURE = $AF000019;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>IPSTFT19_SCREEN_WIDTH = 170;</code>
 +
| &nbsp;
 +
|-
 +
| <code>IPSTFT19_SCREEN_HEIGHT = 320;</code>
 +
| &nbsp;
 +
|-
 +
| <code>IPSTFT19_COLSTART = 35;</code>
 +
| &nbsp;
 +
|-
 +
| <code>IPSTFT19_DEFAULT_ROTATION = FRAMEBUFFER_ROTATION_90;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''IPSTFT19 GPIO''' <code> IPSTFT19_LCD_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>IPSTFT19_LCD_DC = GPIO_PIN_25;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>IPSTFT19_LCD_RST = GPIO_PIN_27;</code>
 +
| &nbsp;
 +
|-
 +
| <code>IPSTFT19_LCD_BL = GPIO_PIN_18;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Type definitions ===
 
=== Type definitions ===

Revision as of 05:12, 14 November 2023

Return to Unit Reference


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


IPSTFT19 specific constants IPSTFT19_*
IPSTFT19_FRAMEBUFFER_DESCRIPTION = 'Adafruit 1.9" IPS TFT'; Description of IPSTFT19 device
 
IPSTFT19_SIGNATURE = $AF000019;  
 
IPSTFT19_SCREEN_WIDTH = 170;  
IPSTFT19_SCREEN_HEIGHT = 320;  
IPSTFT19_COLSTART = 35;  
IPSTFT19_DEFAULT_ROTATION = FRAMEBUFFER_ROTATION_90;  


IPSTFT19 GPIO IPSTFT19_LCD_*
IPSTFT19_LCD_DC = GPIO_PIN_25;  
IPSTFT19_LCD_RST = GPIO_PIN_27;  
IPSTFT19_LCD_BL = GPIO_PIN_18;  


Type definitions


To be documented

Public variables


To be documented

Function declarations


To be documented


Return to Unit Reference