User's Manual
4. Select the Jump icon and the red traffi c light icon by dragging the mouse across them. Move them to the right, now
there is space for the Play Sound icon. Insert it after deleting the wire between the Random Time and the Jump Icon.
(If you use ROBOLAB 2.5 right click the wire and select Insert)
5. Now insert 3 and 2 seconds as the maximum time (default is 5 seconds) using a numeric constant, which is located in
the Modifi ers palette. As soon as you have dragged the icon into the programming window you can write its value. Alterna-
tively you can use the Tab button to access the Write Icon and then write the value in the numeric constant.
6. Download the program illustrated here and try it out on the fl oor.
The program turns motor A and C on at power level 3 and waits for random time (between 0 and 3 seconds), then it fl ips the
direction of motor C and waits for random time (between 0 and 2 seconds) plays a sound and jumps back to the red land
arrow and repeats the program. Your car will move forward for 0–3 seconds, turn for 0–2 seconds and play a sound repeat-
edly. The sound is the same as that which the RCX makes when it has downloaded a program.
Write Icon
17