Event#
Introduction#
The red Event cards start, loop, or end a GO project.
Below is a list of available cards:
when start GO – Starts the project when the Start button on the Digital Coder is selected.
go to start – Loops back to the when start GO card to repeat the project until it is stopped.
stop project – Stops and ends the project.
when start GO#
The when start GO card starts the project when the Start button on the Digital Coder is selected. A project must always begin with the when start GO card in the top slot of the Digital Coder, marked with a white arrow. It is always in place and can’t be moved.
Example
Select the Start button on the Digital Coder to drive forward 15 cm.
go to start#
The go to start card makes the Digital Coder loop back to the when start GO card and run the project again. Together, the two cards make a forever loop: use go to start to repeat a set of actions until the project is stopped. Select the Stop button on the Digital Coder to stop the project.
Example
Drive forward 15 cm and turn right 90°, over and over, until the Stop button is selected.
stop project#
The stop project card stops and ends the project. Any cards following the stop project card will not run.
Example
If an object is in front of the robot, end the project. If not, drive forward 30 cm.