Thursday, May 10, 2012

Conveyor Program

Peter Craig

Today, we worked on our program for the conveyor bot. The program starts out with adding an ultrasonic sensor and when the value is true, the robot moves forward. When the value is false, the robot stops to receive the topping. This section is put into a loop connected to the light sensor. After the loop is executed, the robot continues to move forward until it detects another light value. The program continues this forever in the main loop.

No comments:

Post a Comment