Copyright © 2015 NEXCOM International Co., Ltd. All Rights Reserved.
61
NISE 50C/50C-H User Manual
Appendix D: Wi-Fi & 3G LED
a
PPendIx
d: w
I
-f
I
& 3g led
Command register and address description:
Command for light sensor:
Command
Description
0xF0
Write
0xF1
Read
Data for Wi-Fi & 3G LED:
Command Description
Bit0
Wi-Fi LED Enable or disable; 0x01 to Enable, 0x00 to Disable
Bit1
3G LED Enable or disable; 0x01 to Enable, 0x00 to Disable
Read description:
Sequence to read light sensor:
Step Action
Description
RW sample
code command
0
Wait IBF clear
x
1
Write 0x80 to 0x66
Send read command
>o 0x66 0xF1
2
Wait OBF set
x
3
Read 0x62 port
data
>i 0x62
Write description:
Step Action
Description
RW sample
code command
0
Wait IBF clear
x
1
Write 0x81 to 0x66
Send write command
>o 0x66 0xF0
2
Wait IBF clear
x
3
Write ram address to
0x62 port
Send control Data 0x01
to Enable LED
>o 0x62 0x01