Quick Start Guide

© Modular Robotics, 2016 www.modrobotics.comPage 11
Put the red Inverse block between the
Brightness Sense block and the Flashlight
Action block. Remember the number flow
story: every Sense block produces a number.
The Brightness Sense block produces a big
number when it senses a lot of light. It tells
that big number to its neighbor (the Flashlight
Action block), which turns the big number into
a bright light.
The Inverse Think block turns a big number
into a small number (and a small number into
a big number).
When we put the Inverse Think block into the
robot, numbers pass through it from Sense
block to Action block. When the Brightness
Sense block senses a lot of light it produces
a big number, which the Inverse Think block
turns into a small number, and passes to the
Flashlight Action block, which dims its lamp.
It also works the other way. When you put the
robot in a dark room (or shade it with your
hand) the Brightness Sense block produces a
small number. The Inverse Think block turns
it into a big number, and the Flashlight Action
block makes its light bright: A Nightbot that
turns on in a dark room, and turns off in a
bright room.