4Display-Shield-22 4D Systems, 4Display-Shield-22 Datasheet - Page 6
![no-image](/images/no-image-200.jpg)
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
1.4DISPLAY-SHIELD-22.pdf
(11 pages)
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
uint16_t fontY()
Gets the font size, y-axis.
Returns:
Vertical size of current font, in pixels
---------------------------------------------------------------------------
uint16_t maxX()
Gets the size of the screen, x-axis.
Returns:
Horozontal size of the screen, in pixels.
Note: 128 means 128 pixels and thus 0..127 coordinates (decimal)
---------------------------------------------------------------------------
uint16_t maxY()
Gets the size of the screen, y-axis.
Returns:
Vertical size of the screen, in pixels.
Note: 160 means 160 pixels and thus 0..159 coordinates (decimal)
---------------------------------------------------------------------------
circle(x0, y0, radius, colour)
Draws a circle from x0, y0 center with specified radius and colour.
Parameters:
x0 = x-axis centre
y0 = y-axis centre
radius = radius of circle in pixels
colour = 16 bit colour
---------------------------------------------------------------------------
solidCircle(x0, y0, radius, colour)
Draws a solid circle from x0, y0 center with specified radius and colour.
Parameters:
x0 = x-axis centre
y0 = y-axis centre
radius = radius of circle in pixels
colour = 16 bit colour
---------------------------------------------------------------------------
setBackGroundColour(colour)
Sets the background colour of the display, default is Black.
Parameters:
colour = 16 bit colour
---------------------------------------------------------------------------
line(x1, y1, x2, y2, colour)
Draws a line from x1, y1 to x2, y2 with specified colour.
Parameters:
x1 = x-axis start pixel
y1 = y-axis start pixel
x2 = x-axis end pixel
y2 = y-axis end pixel
colour = 16 bit colour
---------------------------------------------------------------------------
© 2012 4D SYSTEMS
Page 6 of 11
www.4dsystems.com.au