Qu-Bot, A Quickly Programmable Robot User’s Manual
Page
28
of
52
4. Programming in Qu-Bot Visual LAB (Output Blocks)
In this chapter we will learn how to use blocks listed under Section 3.1.3.1.
4.1. Lighting LED’s
4.1.1. Characteristics of LED Block
LED Block controls on, off and toggle status of LED’s. There are in total 3 LED’s on
Qu-Bot which can be separately operated by this module. LED’s are indicated by
number in figure2.1.
4.1.2. Changing Attributes
Left Click on the LED block in code flow to see attributes.
“Select Output”
: Left click on value block to see drop down menu.
For Each LED there are three options. Total options available are LED1 ON, LED1
OFF, LED2 ON, LED2 OFF, LED3 ON, LED3 OFF, TOGGLE LED1, TOGGLE LED2, and
TOGGLE LED3.
4.1.3. LED On/Off Sequence
Arrange the block and set
attributes as shown in the
figure.
Check section 7.5 for setting
delay block attributes.
The program will execute as
below when downloaded to Qu-
Bot.
LED1 will be on for 2 Seconds.
LED1 will be off and LED2 will
be on for 1 second.
LED2 will be off and LED3 will
be on for 500mS.
LED3 will be off.
Buzzer
will
beep
thrice
indicating end of program.