4Display-Shield-22 4D Systems, 4Display-Shield-22 Datasheet - Page 5

no-image

4Display-Shield-22

Manufacturer Part Number
4Display-Shield-22
Description
Display Development Tools 2.2" LCD Disp Shld for Arduino w/ Tch
Manufacturer
4D Systems
Datasheet

Specifications of 4Display-Shield-22

Rohs
yes
Product
4Display Shields
Tool Is For Evaluation Of
176 x 220 LCD-TFT Display
Interface Type
SPI
Operating Supply Voltage
5 V
Description/function
4Display-Shield-22 provides an easy way of connecting a display up to your Arduino project
Maximum Operating Temperature
+ 65 C
Minimum Operating Temperature
- 10 C
Viewing Area
2.2 in
4D SYSTEMS
4Display-Shield-22
4. Library Overview
4.1.
Library Functions
The following are functions made available to the Arduino using the 4D Systems Library. Please see the
website to download this library,
www.4dsystems.com.au
begin()
Initialise the display
---------------------------------------------------------------------------
clear()
Clears the display
---------------------------------------------------------------------------
invert(flag)
Inverts the display.
Parameters:
Flag = true to invert, false for normal.
---------------------------------------------------------------------------
setBacklight(flag)
Turns the backlight on or off.
Parameters:
flag = true for on, false for off.
---------------------------------------------------------------------------
setDisplay(flag)
Turns the display on or off.
Parameters:
flag = true for on, false for off.
---------------------------------------------------------------------------
setOrientation(orientation)
Sets the orientation of the display.
Parameters:
orientation = 0 Portrait, 1 Right Rotated Landscape, 2 Reverse Portrait, 3 Left
Rotated Landscape.
---------------------------------------------------------------------------
uint16_t getOrientation()
Gets the current orientation of the display.
Returns:
0 = Portrait
1 = Right Rotated Landscape
2 = Reverse Portrait
3 = Left Rotated Landscape.
---------------------------------------------------------------------------
uint16_t fontX()
Gets the font size, x-axis.
Returns:
Horizontal size of current font, in pixels
---------------------------------------------------------------------------
© 2012 4D SYSTEMS
Page 5 of 11
www.4dsystems.com.au

Related parts for 4Display-Shield-22