INSTRUCTIONS for ULTIMATE candy MACHINE Part 3!!!!!!!!

Step 6:

Write the code to make the conveyor belt move when the sensor detects something.(in this case the coin)

How it works:

  1. put an infinite loop
  2. put a wait block (wait block waits for sensor reflected light intensity greater than 20)
  3. next put a motor block (spin the motor one time)
  4. put a wait block that waits for ten seconds

Here is a link to the INSTRUCTIONS for the ULTIMATE candy MACHINE Part 1!!!!!!!!

See theĀ ULTIMATE candy MACHINE in ACTION!!!!!!

%d bloggers like this: