Qu-Bot, A Quickly Programmable Robot User’s Manual
Page
6
of
52
4.5.3. Display Text on Serial Terminal
32
4.5.4. Using Serial Terminal to check output of above program
33
5.
Programming in Qu-Bot Visual LAB (Loop Blocks)
34
5.1. WHILE(1) Infinite loop
34
5.1.1. Characteristics of WHILE(1) Block
34
5.1.2. Blink LED1 forever
34
5.2. WHILE(Condition) Conditional loop
34
5.2.1. Characteristics of WHILE(Condition) Block
34
5.2.2. Blink LED1 until Switch1 is pressed
35
6.
Programming in Qu-Bot Visual LAB (Conditional Blocks)
36
6.1. IF(Condition), ELSE IF(Condition), ELSE & ENDIF blocks
36
6.1.1.
Structure
36
6.1.2.
Condition Building, Operands and Operators
36
6.1.3.
Function of IF, ELSE IF, ELSE, ENDIF
38
6.1.4.
Glow LED’s as per switch press status
39
6.2. Other IF blocks
39
6.3. Nested IF ELSE sample
40
7.
Programming in Qu-Bot Visual LAB (Operational Blocks)
41
7.1. Data Types
41
7.2. Variables in Qu-Bot
41
7.3. Variable Block
41
7.3.1. Special Cases
41
7.4. Variable Operator Block
43
7.5. Delay Block
43
7.6. Counter Block
44
8.
Application Programs
45
8.1. Bugler alarm
45
8.2. Obstacle avoider
46
8.3. Edge avoider
47
8.4. Distance measurement
48
8.5. Line Follower using one sensor
49
8.6. Line Follower using three sensors
50
8.7. Remote Controlled Qu-Bot
51
8.8. PC controlled Qu-Bot
52