miim

## PWM Protocol

For details about testing the lights in a terminal for the PWM protocol, see "Testing the Lights in a Terminal".

ASCII Code | Keyboard Key (All letters are Lowercase) | Action
49 | 1 | Shows a blue hue (on both X and Z): Machine Idle. Not homed.
50 | 2 | Makes lights all white on X and Z: Once homed, blue changes to white (on both X and Z). Close the PC-DMIS measurement routine. Once the error condition is remedied, open a new PC-DMIS measurement routine.
51 | 3 | Makes Z lights flash green while X lights stays white: Start a PC-DMIS measurement routine.
52 | 4 | Changes X and Z lights to solid green. The PC-DMIS measurement routine is finished. All features are in tolerance.
53 | 5 | Changes X and Z lights to solid red: The PC-DMIS measurement routine finishes. At least one feature is out of tolerance.
54 | 6 | Makes both X and Z lights to flash red: An error condition is encountered during execution.
55 | 7 | Makes the LED fading speed 1 (fastest)
56 | 8 | Makes the LED fading speed 2
57 | 9 | Makes the LED fading speed 3
48 | 0 | Makes the LED fading speed 4 (default)
45 | - | Makes the LED fading speed 5
61 | = | Makes the LED fading speed 6 (slowest)
113 | q | Makes light 1 red
119 | w | Makes light 2 red
101 | e | Makes light 1 green
114 | r | Makes light 2 green
116 | t | Makes light 1 blue
121 | y | Makes light 2 blue
117 | u | Makes light 1 white
105 | i | Makes light 2 white
111 | o | Makes light 1 yellow
112 | p | Makes light 2 yellow
97 | a | Makes light 1 purple
115 | s | Makes light 2 purple
100 | d | Makes light 1 cyan
102 | f | Makes light 2 cyan
103 | g | Makes light 1 hex color1
104 | h | Makes light 2 hex color1
106 | j | Makes light 1 hex color2
107 | k | Makes light 2 hex color2
108 | l | Makes light 1 hex color 3
59 | ; | Makes light 2 hex color 3
122 | z | Makes light 1 turn OFF
120 | x | Makes light 2 turn OFF
99 | c | Sets 0 lights flashing
118 | v | Sets 1st light flashing only
98 | b | Sets 2nd light flashing only
110 | n | Sets both lights flashing