27 pad_led_dimming_follow_en, 28 pad_led_dimming_follow_dis, 29 ambient_light_sensor – Hatteland Display 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) User Manual

Page 24: 30 ambient_light_sensor_range, Hatteland display api

Advertising
background image

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7

Created: 17.11.2011

Modified: 07.10.2013

24 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

4.5.27

PAD_LED_DIMMING_FOLLOW_EN

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.PAD_LED_DIMMING_FOLLOW_EN,

false

, input, output,

ref

pNBytes);

4.5.28

PAD_LED_DIMMING_FOLLOW_DIS

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.PAD_LED_DIMMING_FOLLOW_DIS,

false

, input, output,

ref

pNBytes);

4.5.29

AMBIENT_LIGHT_SENSOR

int

errCode = -1;

byte

[] output =

new

byte

[2];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AMBIENT_LIGHT_SENSOR,

true

, input, output,

ref

pNBytes);

4.5.30

AMBIENT_LIGHT_SENSOR_RANGE

4.5.30.1 Write

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[1];

//0-4

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AMBIENT_LIGHT_SENSOR_RANGE,

false

, input, output,

ref

pNBytes);

4.5.30.2 Read

int

errCode = -1;

Advertising
This manual is related to the following products: