Skip to main content

Spin the Diverter

Now that the goals of the project have been outlined using comments, the blocks must now be added to spin the Diverter and the conveyors to divert the red disk to the Exit Conveyor.

Red Path
  1. First, the Diverter needs to be set to position in order to divert the red disk to the Exit Conveyor. Add a [Spin to position] block from the ‘Motion’ category to the ‘Move Diverter to divert the red disk to Exit’ [Comment] block.

    Spin to position block 1
  2. Set the [Spin to position] block’s motor to ‘DiverterMotor.’

    Parameter to diverter