The humble motor is a great add-on for the Crumble. You can connect up to two motors at once, and they just need to be connected to built-in motor outputs.
The red lead connects to + and the black one to – . The speed and direction of the motor can be programmatically adjusted, by changing the % on the motor block (0-100%) or the direction (forward, reverse or stop).
Note: Don’t forget you will need to add batteries.
This block controls the motors. Click the number, direction or % to change them.
This program turns on the motors, waits for 2.5 seconds, then turns them off for 1 second. It does this indefinitely.
This is an example of how the motor commands, and wait statements can be used to create a work of art!