High Country Tek DVC80 User Manual
Page 93

P/N: 021-00154, Rev. A.6 - updated for V4.7 Tools
Page | 93
Each key has a unique integer value. Below is the value for each key on the keypad.
const F1 = 65
const F2 = 66
const F3 = 67
const F4 = 68
const uparrow = 65
const leftarrow = 66
const rightarrow = 67
const downarrow = 68
const one = 49
const two = 50
const three = 51
const Yes = 43
const four = 52
const five = 53
const six = 54
const No = 45
const seven = 55
const eight = 56
const nine = 57
const bksp = 8
const period = 46
const zero = 48
const space = 32
const enter = 13
When a key is depressed the ANSI code is transferred your application and accessible using the variable
DVC62.value. Upon receipt the variable DVC62.key is set to true. After you have processed the receive key
depression you should set the DVC62.key variable to false and wait until it is set by the BIOS to true to process
the next key struck. Code like the following does this.
If (DVC62.key = true) then
Value = DVC62.value
DVC62.key = false
‘ add code to process the value received
End if
Setting up a Screen for Display
Use the DVC62.screen variable and DVC62.v1, …., DVC62.v12 variables to activate and personalize the
display.
DVC62.screen = splash ‘ screen name is splash
DVC62.v1 = value
…….
DVC62.v12 = value12