![Matrix Orbital LK204-24-USB Manual Download Page 3](http://html1.mh-extra.com/html/matrix-orbital/lk204-24-usb/lk204-24-usb_manual_1741146003.webp)
3 Keypad Interface
16
3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 Keypad Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.1 Auto Repeat Mode On (254 126[mode])(R) . . . . . . . . . . . . . . . . . . . . . . 17
3.3.2 Auto Repeat Mode Off (254 96)(R) . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.3 Auto Transmit Keypresses On (254 65)(R) . . . . . . . . . . . . . . . . . . . . . . 18
3.3.4 Auto Transmit Keypresses Off (254 79)(R) . . . . . . . . . . . . . . . . . . . . . . 18
3.3.5 Clear Key Buffer (254 69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.6 Poll Keypad (254 38) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.7 Set Debounce Time (254 85 [time])(R) . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Bar Graphs and Special Characters
19
4.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.1 Initialize Wide Vertical Bar Graph (254 118) . . . . . . . . . . . . . . . . . . . . . 19
4.1.2 Initialize Narrow Vertical Bar Graph (254 115) . . . . . . . . . . . . . . . . . . . . 19
4.1.3 Draw Vertical Bar Graph (254 61 [column][height]) . . . . . . . . . . . . . . . . . 19
4.1.4 Initialize Horizontal Bar Graph (254 104) . . . . . . . . . . . . . . . . . . . . . . . 20
4.1.5 Draw Horizontal Bar Graph (254 124 [column][row][dir][length]) . . . . . . . . . . 20
4.1.6 Define Custom Character (254 78 [c][8 bytes]) . . . . . . . . . . . . . . . . . . . . 20
4.1.7 Remember Custom Character (254 194 [c][8 bytes]) . . . . . . . . . . . . . . . . . 21
5 Fan and GPO Commands
21
5.1 Display Return Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Fan and GPO Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2.1 General Purpose Output Off (254 86 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 23
5.2.2 General Purpose Output On (254 87 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 23
5.2.3 PWM Value (254 192 [fan #] [PWM value]) . . . . . . . . . . . . . . . . . . . . . . 23
5.2.4 Return Fan RPM (254 193 [fan #]) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2.5 Remember GPO / PWM State (254 195 [fan #] [PWM value]) . . . . . . . . . . . . 24
5.2.6 Set PWM Base Frequency (254 196 [index]) . . . . . . . . . . . . . . . . . . . . . 24
5.2.7 Remember PWM Base Frequency (254 197 [index]) . . . . . . . . . . . . . . . . . 25
6 1-Wire Commands
25
6.1 Device Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 ROM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.4 Display 1-Wire functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.4.1 Transaction command (254 C8 1 [flags] [Send Bits] [Recieve bits] [Send data]) . . . 27
6.4.2 Search command (254 C8 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7 Miscellaneous Commands
28
7.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.1.1 Remember (254 147 [0|1]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.1.2 Clear display (254 88) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.1.3 Set Contrast (254 80 [contrast]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.1.4 Set Contrast and save (254 145[contrast]) . . . . . . . . . . . . . . . . . . . . . . . 29
Matrix Orbital
LK204-24-USB
iii
www.DataSheet4U.com