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

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
rectangle(x1, y1, x2, y2, colour)
Draws a rectangle 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
---------------------------------------------------------------------------
solidRectangle(x1, y1, x2, y2, colour)
Draws a solid rectangle 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
---------------------------------------------------------------------------
point(x1, y1, colour)
Draws a pixel at from x1, y1 with specified colour.
Parameters:
x1 = x-axis pixel
y1 = y-axis pixel
colour = 16 bit colour
---------------------------------------------------------------------------
text(x0, y0, string, textColour, backColour, x-multiplier, y-multiplier)
Draw ASCII Text at the pixel coordinates with set colours and size.
Parameters:
x0 = x-axis pixel
y0 = y-axis pixel
string = text string
textColour = 16 bit colour of Text
backColour = 16 bit colour of background
x-multiplier = multiplier of x-axis text (default=1)
y-multiplier = multiplier of y-axis text (default=1)
---------------------------------------------------------------------------
boolean getTouch(x, y)
Gets touch activity and coordinates.
Parameters:
x = x-axis coordinate
y = y-axis coordinate
Note: x and y coordinates are consistent with the orientation
Returns:
true = pressed
false = otherwise
---------------------------------------------------------------------------
uint16_t setColour(red, green, blue)
Calculates the 16-bit colour from 8-bit Red-Green-Blue components
Parameters:
red = 0x00..0xff Red Component
green = 0x00..0xff Green Component
blue = 0x00..0xff Blue Component
Returns:
16 bit colour
---------------------------------------------------------------------------
© 2012 4D SYSTEMS
Page 7 of 11
www.4dsystems.com.au

Related parts for 4Display-Shield-22