MD-219 Hardware Manual
Display UART Commands
C-3
BRU (Glass Display Control-Brightness Button)
This command sets the LED brightness value of the touch keypad. The range is from 0x00 to 0xFF (0% - 100%).
The default brightness value of the touch keypad will be changed in the ratio of the panel backlight brightness.
You can send a
?
to query the current LED brightness value. LEN=one data byte.
Examples:
Command to set 100% Brightness.
0x07
0xFF
0x42
0x52
0x55
0x01
0x0F
0xFF
0x00
BZZ (Buzzer Control)
The default value for the buzzer is
OFF
. Users can send this command to turn the buzzer on/off.
If the data and data checksum are incorrect, the reply data field is the current buzzer status. LEN=one byte.
0x00
Turn the buzzer OFF
0xFF
Turn the buzzer ON
0x3F
Query the current status
Examples:
Turn the buzzer
ON
.
0x07
0xFF
0x42
0x5A
0x5A
0x01
0x02
0xFF
0x00
ACK
0x06
0xFF
0x42
0x5A
0x5A
0x01
0x03
0xFF
0x00
Query the current status.
0x07
0xFF
0x42
0x5A
0x5A
0x01
0x02
0x3F
0xC0
ACK the current status of the buzzer is ON
0x06
0xFF
0x42
0x5A
0x5A
0x01
0x03
0xFF
0x00
DLN (Download ECDIS RGB File)
Before sending this command, use
DL?
to determine how many available packets are in each ECDIS table. This
command cannot be used if the MD-219 has not been calibrated. Every packet has a head (Byte 7 and Byte 8);
Byte 7 is the packet number and Byte 8 is the ASCII code for “-”; the remaining bytes are the data. If the packet
is full the data is in Byte 9 to Byte 38. LEN=one data byte.
Data length is 32. The first byte is package num., the second byte is “-” and the other 30 bytes are data.
Examples:
Command to read packet 0.
0x07
0xFF
0x44
0x4C
0x4E
0x01
0x1A
0x00
0xFF
ACK packet 0 of the first RGB file
0x06
0xFF
0x44
0x4C
0x4E
0x20
0xFC
0x00
0x2D
Data
IDCHK