Users Manual
SCRATCH CODING KIT
Modular coding for dancing robot
We broadcast 'LED_Shift' and 'Motor_Move' before. Now create a script for each broadcast. The script will start
with the block 'when receiving LED_Shift' and 'when receiving Motor_Move'. Create the script below!
Does this script make sense? In the previous scripting with a single script, the length of the script was long and the
distinction between each action was not clear. However, using the 'Broadcast' function makes it easier to create
a script, and it makes good sense of the role of each script.
This division into smaller units is called 'modularization'. You can think of a large piece divided into pieces. This
'modularity' allows you to represent a single script that is difficult to code in multiple, split-level scripts and solve
problems.
Do not forget to add to your coding skills, 'modular' learned through dancing robots!
Activity