
PicoBlocks - Reference
2
r a n d o m
reports a random number
between this and that
motor
onfor
r a n d o m
10
50
turns on motor for a random number of
ticks (in this case it could be 10, or 50, or
anything in between...)
Default value:
random 0 100
>
if this is greater than that...
>
brightness
50
if
then
chirp
forever
this will happen
number1 > number2 reports true if number1 is greater than number2.
<
if this is less than that...
<
brightness
60
if
then
chirp
forever
this will happen
number1 < number2 reports true if number1 is less than number2.
=
if this is equals that...
=
brightness
50
if
then
chirp
forever
this will happen
number1 = number2 reports true if the two numbers are equal.