Jetter AG
Programming | 7
JVM-104-O15 User Manual
38 / 60
Register
Description
361000.5
[SCROLL] key
Bit 5 = 1:
[SCROLL]
key is pressed.
361000.6
[ESC] key
Bit 6 = 1:
[ESC]
key is pressed.
361000.7
[HOME] key
Bit 7 = 1:
[HOME]
key is pressed.
Tab. 40:
Input key registers
Virtual key codes
The following table shows the symbolic hexadecimal values for the virtual key
codes used by the system.
Input key
Value
[F1]
0x70 (Ground)
[F2]
0x71 (Ground)
[F3]
0x72 (Ground)
[F4]
0x73 (Ground)
[POWER]
0x74
[SCROLL]
0x75
[ESC]
0x1B
[HOME]
0x24
Tab. 41:
Virtual key codes
7.8.2 Digipot
The JVM-104-O15 has a rotary dial (digipot) with pushbutton feature which offers
a convenient input option. The following provides details of the digipot's special
registers with a corresponding sample program.
Digipot registers
Register
Description
363000
This register holds the current count value. If you turn the
digipot, the count value increments or decrements. Where:
■
Turning the digipot clockwise increments the count value
■
Turning the digipot counter-clockwise decrements the count
value
363001
Bit 0: 0 = Pushbutton not pressed
Bit 0: 1 = Pushbutton pressed
363002
This register lets you specify the lower limit for the count value
of the digipot. If you continue turning the digipot counter-clock-
wise, register 363000 remains at this minimum value.
363003
This register lets you specify the upper limit for the count value
of the digipot. If you continue turning the digipot clockwise, reg-
ister 363000 remains at this maximum value.
JetSym STX pro-
gram
In the following sample program, the background lighting of the JVM-104-O15 is
dimmed using the digipot. An upper and lower limit for the digipot is specified for
this purpose. If you press the pushbutton, full background lighting is activated.
Var
Digipot_Count : Int
At
%VL
363000
;
Digipot_Limit_min: Int
At
%VL
363002
;
Digipot_Limit_max: Int
At
%VL
363003
;
Digipot_Button : Int
At
%VL
363001
;
BackgroundLighting: Int
At
%VL
364000
;
End_Var;