89
Secondary code
Basically a system scan code is assigned to each key, however, for some keys, different codes
will be assigned depending on the Fn key.
Code Table
The following diagram shows the relationship between the keyboard keys and primary codes.
Fig. 5.3
Fn key
The Fn key is used to generate a system scan code for the function key if it is pressed together
with a numeric key. For example, Fn + 1 generates a system scan code for the F1 key, and
Fn + 0 generates a system scan code for the F10 key. However, Fn + 7 to 9 will not generate
a system scan code that corresponds to any function keys because they have already been
assigned to the following internal functions to be executed internally.
Operation Function
Fn + 7 Toggles the backlight on and off.
Fn + 8 Increases the LCD screen contrast by one increment.
Fn + 9 Decreases the LCD screen contrast by one increment.
37 38 39 2D
2E 34 35 36
1B
30 31 32 33
Fn 7 8 9 -
4 5 6
CLR
0 1 2 3
0D
003E 003F 0040
0044 003B 003C 003D
Fn key not pressed
Fn key pressed