24
Serial/Ethernet/USB Communication (SCOM) Interface
IND100084-18
"LIS" - Read Ambient Light Sensor
This command is used to read the value of the ambient light sensor. This value reads the Channel 0 of the ambient
light sensor in system with keypad and embedded light sensor of GDC in GDC system.
Example:
Read Light Sensor:
0x07
0xFF
0x4C
0x49
0x53
0x00
0x11
Reply from unit:
0x06
0xFF
0x4C
0x49
0x53
0x02
0x10
0x02
0x34
0xC9
DATA0
= Most Significant Byte.
DATA1
= Least Significant Byte.
Read:
When the LIS command is sent with the data 0x4C, it returns an estimated luminance in lux.
Example:
Read luminance in Lux from Light Sensor:
0x07
0xFF
0x4C
0x49
0x53
0x01
0x10
0x4C
0xB3
Reply from unit:
0x06
0xFF
0x4C
0x49
0x53
0x02
0x10
0x01
0x23
0xDB
Содержание HATTELAND TECHNOLOGY X MMD G2 Series
Страница 56: ...56 This page left intentionally blank...
Страница 57: ...57 Appendixes...
Страница 68: ...Hatteland Technology AS www hattelandtechnology com Enterprise no NO974533146...