Qu-Bot, A Quickly Programmable Robot User’s Manual
Page
43
of
52
Above program waits until it receives IR remote code and displays the code on
LCD.
7.4. Variable Operator Block
This block is used to do mathematical operations like +, -, * and /. Left click on the
Variable Operator block in code flow and check attribute explorer
This block can perform following actions
1. Variable = Variable1 (+, -, * or /) Constant
2. Variable = Variable1 (+, -, * or /) Variable2
The above image will multiply INT17 & 84 and store result in LONG6 variable (LONG6
= INT17 * 84). Also you can right the same statement by initializing any character
variable to 84 using variable block and then operate as LONG6 = INT17 * CHAR30.
*Constant value must be between 0-255.
7.5. Delay Block
This block is used to generate delay in sequence. We have already used this blocks for
generating delays in previous programs. Left click on the Delay block in code flow and
check attribute explorer.