Step 6:
Write the code to make the conveyor belt move when the sensor detects something.(in this case the coin)
How it works:
- put an infinite loop
- put a wait block (wait block waits for sensor reflected light intensity greater than 20)
- next put a motor block (spin the motor one time)
- put a wait block that waits for ten seconds
Here is a link to the INSTRUCTIONS for the ULTIMATE candy MACHINE Part 1!!!!!!!!