CLICK HERE FOR INDEX PAGE

 

ADDING A 'LOOP' TO THE STEPS / PROGRAMME

V.Ryan 2005

 

Change Pilot 3 by adding a LOOP

   

Download the programme and run it. You should find that the buggy moves forwards and backwards continually, every time either micro-switch is pressed.. The programme LOOPS.

   

WHAT SHOULD HAPPEN?

   

The buggy is placed between two barriers approximately 30 cm apart. It has been programmed to move forward until the front micro-switch is pressed. Then it should stop and reverse. When the back micro-switch is pressed the RCX buggy should stop and move in the opposite direction. This happens continually (Loops).

   
   

 

   
BACK TO ROBOLAB INDEX
   
 
Google
 
Web www.technologystudent.com