
llama.rbt
Attach the spitting motor to Port A. Plug the wheel motors into Ports B & C. (If you are going to
use the remote control, cross the B and C wires, so the orientation of turns will be the same for
the robot and you.)
This is a simple program to get you started. It assumes you will run the wheels in Port
B and C with the remote control. Unfortunately, the remote control seems to inhibit the
shooter, and may not always shoot at close objects, if you are using the remote control.
LOOP
Forever
Motor Block
Port A
Up Arrow
.5 seconds
Power—75
Wait Block
Sensor
Ultrasonic
Motor Block
Port A
Down Arrow
.5 seconds
Power—100
Wait Block
Port 4
Ultrasonic Sensor
< 12 inches
Содержание Mindstorms Llama
Страница 2: ...2x 4x 2x 1 2x 2 3 4x 2x ...
Страница 3: ...2x 4 5 6x 1x 4x 2x 6 ...
Страница 4: ...10 12x 2x 2x 2x 2x 2x 4x 7 4x 2x 9 8 7 ...
Страница 5: ...2x 4x 2x 11 12 2x 2x 2x 5 2x 13 ...
Страница 6: ...2x 1x 2x 2x 15 14 2x 16 ...
Страница 7: ...1x 3x 1 2x 7 1x 2 3x 3 ...
Страница 8: ...2x 4 6 5 4x 2x 2x 2x ...
Страница 9: ...7 7 1x 1x 8 1x 6 2x 9 ...
Страница 10: ...12 10 11 2x 2x 2x ...
Страница 11: ...13 15 4x 2x 2x 1x 14 2x ...
Страница 12: ...17 16 2x 4x ...
Страница 13: ...2 1x 1x 1x 1x 1x 1x 1 2x 1x 6 4 5 3 ...
Страница 14: ...18 4x 19 4x ...
Страница 15: ...21 20 2x 2x 2x 2x ...
Страница 16: ...22 23 2x 2x ...
Страница 17: ...24 2x 2x 1x 1x 1x 1x 25 ...
Страница 18: ...1 2x ...