Problem from the
student activity sheets: Write a
program that has the receiving robot respond to a message only after
its touch sensor was pressed (or a light shined on its light sensor).
Here is a sample solution.
Important note: Because the Yes or No Stack Decision Maker will look for a message only
onceóimmediately after the sensor condition was metóthe Sender must
send the message repeatedly (i.e., in a Repeat Forever block). This
will ensure that whenever the touch sensor is pressed or a light is
shined at the light sensor a message will be coming.