Advanced - TTS InO-Bot Scratch Teachers Manual

Table of Contents

Advertisement

Sensors

Advanced

The commands and sensors below are available in addition to the Basic blocks listed
above.
Command
Sensors
Returns a true or false value
Proximity
(true = triggered) e.g.
(Corners)
FL – Front
Left
FR – Front
Right
BL – Back left
BR – Back
Right
Line
Follower
Left
Right
Return values from the on board sensors.
Placing a tick by them will allow them to
display values on the Scratch stage.
Values
Description
Sets the top LEDs a given colour using
0 - 255
red, green and blue values.
1 – 8 and 0 -
Sets LEDs on top a given colour using
255
red, green and blue values.
Forward,
For use with the external connector.
Reverse, Stop
On / Off
Switches the infrared beacon on or off.
If infrared is detected. Lower value is high
255 - 0
level of infrared.
These show the readings from the wheel
counters built in to the robot.

Advertisement

Table of Contents
loading

Table of Contents