Programming The Metreau Keypads
Navigation Wheel - Buttons 7-11
The top, bottom, left, right and center points on the Navigation Wheel are pushbuttons that provide events on
Channels #7, #8, #9, #10 and #11, and can be programmed like any other AxLink button.
Navigation Wheel - Buttons 12-13
The Navigation Wheel itself can be rotated clockwise and counterclockwise, and is intended to provide level
control (for example volume or lighting levels).
When rotated clockwise, the Navigation Wheel provides events on Channel #12.
When rotated counter-clockwise, the Navigation Wheel provides events on Channel #13.
When rotated (clockwise/counter-clockwise), the Navigation wheel provides level events on Level
#2.
Navigation Wheel - Level Control
In addition to generating button events, a rotation of the wheel causes a level change on Level #2:
Clockwise rotations increase the level
Counter-clockwise rotations decrease the level.
Example code is provided below:
LEVEL_EVENT[dvMetreau,2]
{
volume = level.value
SEND_STRING 0, “’Volume is now: ‘, atoi(volume)”
}
Display Bargraph
The display bargraph consists of 7 LEDs and is controlled via Level #1. Sending a level will update the LEDs
on the display bargraph.
Example code is provided below:
SEND_LEVEL dvMetreau,1,200
Supported SEND_LEVELs
MET-6N keypads support a SEND_LEVEL on Level #1. This is used to adjust the LED bargraph display on
the keypad.
FIG. 2 Navigation Wheel - button layout
SEND_LEVELs
SEND_LEVEL Adjusts the LED bargraph display on the keypad.
Syntax:
SEND_LEVEL <device address>,1,<level>
Variables:
• level = LED bargraph display (range = 0 - 255).
Center = button #11
7
10
8
9
11
dual function:
push/release,
and press and hold
Rotate the Navigation Wheel
counter-clockwise for
button event #13
Rotate the Navigation Wheel
clockwise for
button event #12
Rotate bi-directionally for level
events on Level #2
Comments to this Manuals