6D305 4D SYSTEMS, 6D305 Datasheet - Page 31

no-image

6D305

Manufacturer Part Number
6D305
Description
MOD, GRAPHICS-CNTRLR, UVGA-PICASO-MD1
Manufacturer
4D SYSTEMS
Datasheet

Specifications of 6D305

Accessory Type
Module For UVGA-PICASO-MD1
Kit Features
512KB Of Onboard SRAM, SPI Signal Allow The Module To Be Connected To Number Of SD & MMC Memory Card
Supply Voltage
3.3V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
6.1.19 Draw rectangle
(r)
Serial Syntax :
cmd, x1(msb:lsb), y1(msb:lsb), x2(msb:lsb), y2(msb:lsb), colour
4DGL Syntax :
(refer to 4DGL programmers manual)
cmd : 72hex, r ascii
x1 : top left horizontal start position. 2 bytes
y1 : top left vertical start position. 2 bytes
x2 : bottom right horizontal end position. 2 bytes
y2 : bottom right vertical end position. 2 bytes
colour : rectangle colour value. 1 byte
Description :
This command will draw a rectangle of specified area on the screen.
x1, y1 refers to the top left corner of the area and x2, y2 refers to the bottom right
hand corner of the rectangle on the screen. If colour is chosen to be that of the
background then the effect will be erasure. If Pen Size value was previously set to 0
rectangle will be solid, otherwise wire frame if value was 1.
Example :
70hex, 00hex, 20hex, 00hex, 20hex, 00hex, 40hex, 00hex, 50hex,
C0hex
Draws a BLUE (C0hex) rectangle that has its top left corner at x1=32, y1=32 and its
bottom right corner at x2=64, y2=80.
www.4dsystems.com.au
31
µVGA-PICASO-MD1

Related parts for 6D305