Quick Start Guide
© Modular Robotics, 2016 www.modrobotics.comPage 17
Now add a Blocker block to the base (say, on
the Battery). Then, on the other side of the
Blocker block add a Speaker Action block, and,
on top, put a Brightness Sense block with its
sensor face pointing towards the rotating
light. The Speaker Action block chirps (if the
room is bright).
To the right of the green Blocker block is a
mini lighthouse: a Knob Sense block, a Rotate
Action block and a Flashlight Action block. The
Flashlight Action block spins when you turn
up the Knob Sense block. When light from the
spinning Flashlight Action block strikes the
Brightness Sense block, the Speaker Action
block responds by chirping faster.
18. Using the Threshold
The Threshold Cubelet is a Think block with an
adjustable knob. Unlike most Think Cubelets,
the Threshold allows you to alter its effect
within the robot. The Threshold Cubelet acts
as an insulator, or blocker, of numbers below
a value established by the Threshold knob.
Numbers above the set Threshold value will
continue to flow from block to block.