beautypg.com

2 data types, Common language representations, 3 colour codes – Matrix Orbital GTT70A User Manual

Page 52

background image

Command Summary

48

3.2 Data Types

Common Language Representations

The following table outlines native data types in common programming languages that can be used to
represent the data types used in this manual.

Table 48: Data Types with Representations

ANSI C/C++

C#

Visual Basic

Byte

unsigned char byte

Byte

Signed Byte

signed char

sbyte

SByte

Short

unsigned short ushort UShort

Signed Short

short

short

Short

Integer

unsigned int

uint

UInteger

Signed Integer

int

int

Integer

String

string

string String

Table 49: Data Type Descriptions

Byte

Unsigned 8 bit data type that can represent a value from 0 to 255.

Signed Byte

Signed 8 bit data type that can represent a value from -128 to 127.

Short

*

Unsigned 16 bit data type can represent values from 0 to 65,536.

Signed Short

*

Signed 16 bit data type that can represent values from -32,768 to 32,767.

Integer

*

Unsigned 32 bit data type that can represent values from 0 to 4,294,967,295.

Signed Integer

*

Signed 32 bit data type that can represent values of -2,147,483,648 to 2,147,483.

String

Strings are a multiple character bytes terminated by a single null byte. The ASCII character set is

used by default, but Unicode or UTF-8 strings may be used where specifically outlined.

*Note:

Transmission of multiple byte values follows big endian order.

3.3 Colour Codes

Table 50: Basic Colour Codes

Colour

Red Green Blue

Colour

Red Green Blue

Red

255

0

0

White

255

255

255

Turquoise

0

255

255

Light Grey

192

192

192

Light Blue

0

0

255

Dark Grey

128

128

128

Dark Blue

0

0

160

Black

0

0

0

Light Purple

255

0

128

Orange

255

128

64

Dark Purple

128

0

128

Brown

128

64

0

Yellow

255

255

0

Burgundy

128

0

0

Pastel Green

0

255

0

Forest Green

128

128

0

Pink

255

0

255

Grass Green

64

128

128

This manual is related to the following products: