Miller 4th Grade Cities and Transportation

October 18, 2005

After a quick build of a traffic light and two gates,
the class started to figure out how to program it all.
The lamps were set on Ports A, B, and C
so that the after the red light was on for two seconds the green light was on for two seconds.
Then the yellow light was on for 1 second.
Next they used Jumps to make the program go over and over.
One gate was added to the port with the yellow light.
That worked fine for up.
Copying the steps except changing the direction of the port with the gate worked
so that one time the gate went up and the next it went down.


After those additions, a light sensor was put on Port 1
and the program was modified to start with  Wait For Lighter.

Also programmed was the task of getting the sub off the ship.

After going up to the sub, the arm on Motor B raised.

Much success!
LEGO Links of Linda Hamilton hamilton@marshall.edu