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