Ex. - Mode Selection - iRobot IR-CT01 User Manual

Ez controller
Table of Contents

Advertisement

3.9. Example – Mode Selection
Example for the mode setting that can be operated according to the value of the mode selection switch (Fig# 8).
Select [Example] - [IRROBOT_EZController] - [EZ]–[EasyControl _ModeSelect]
[Description]
In the same way as [Basic Function], the operation can be different according to the position of Mode selection
switch(#8), and the operation can be assigned for each mode.
[Program Description]
Index values for each mode are defined sequentially.
1 : when the mode switch is at the bottom
2 : mode switch at the middle / 3 : at the top
Tester.ModeSelect(int mode1, int mode2. int mode3, int sw);
mode1 : operation when sw value is 1
mode 2 : operation when sw value is 2
mode3 : operation when sw value is 3
sw : Mode value set by mode switch
EZ Controller User Manual_EN_V.1.0
15

Advertisement

Table of Contents
loading

Table of Contents