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.

A red Coder card that reads when start GO.

Example

Select the Start button on the Digital Coder to drive forward 15 cm.

A red Coder card that reads when start GO.

A blue Coder card that reads drive 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.

A red Coder card that reads go to start.

Example

Drive forward 15 cm and turn right 90°, over and over, until the Stop button is selected.

A red Coder card that reads when start GO.

A blue Coder card that reads drive 15 cm.

A blue Coder card that reads turn right 90°.

A red Coder card that reads go to start.

stop project#

The stop project card stops and ends the project. Any cards following the stop project card will not run.

A red Coder card that reads stop project.

Example

If an object is in front of the robot, end the project. If not, drive forward 30 cm.

A red Coder card that reads when start GO.

An orange Coder card that reads if object.

A red Coder card that reads stop project.

An orange Coder card that reads end if.

A blue Coder card that reads drive 30 cm.