2 firmware_model_name, 3 hardware_version, 4 back_light_adjustment – Hatteland Display 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) User Manual

Page 17: Hatteland display api

Advertising
background image

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7

Created: 17.11.2011

Modified: 07.10.2013

17 of 27

Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway

Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com

Hatteland Display API

All intellectual properties belongs to Hatteland Display AS

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AIPC_HS2_DIS,

false

, input, output,

ref

pNBytes);

4.5 C# implementations of Watchdog commands

4.5.1 FIRMWARE_VERSION

int

errCode = -1;

byte

[] output =

new

byte

[11];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.FIRMWARE_VERSION,

true

, input, output,

ref

pNBytes);

4.5.2 FIRMWARE_MODEL_NAME

int

errCode = -1;

byte

[] output =

new

byte

[25];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.FIRMWARE_MODEL_NAME,

true

, input, output,

ref

pNBytes);

4.5.3 HARDWARE_VERSION

int

errCode = -1;

byte

[] output =

new

byte

[2];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.HARDWARE_VERSION,

true

, input, output,

ref

pNBytes);

4.5.4 BACK_LIGHT_ADJUSTMENT

4.5.4.1 Write

int

errCode = -1;

byte

[] output =

new

byte

[0];

Advertising
This manual is related to the following products: