Icons & Hints | Examples |
Hints: Use this icon to send mail (numbers) to another RCX. There must be a continuous line of sight between the 2 RCXs when the program is run. | This piece of code would send a value of 10 to the mailbox of another RCX. |
Hints: Use the icon to control the LCD display on your RCX. You can display any modifier in this area. This can be useful for debugging mail or container issues as well as monitoring sensors. The display is only set to view the modifier while the program is running. This command ONLY works with the RCX. | This piece of code would display the value of the yellow container for 4 seconds. |
Hints: Use this to change the display on the RCX to information from the inputs (1,2,3), outputs (4,5,6), variable (7), battery (8), exception (error) (9), or clock (0). The default is to display the clock. | This piece of code will turn on motor A, then change the RCX display to input 2. Then it will wait for the value of light sensor on port 2 to increase by 5 (the default). Then the motor will be shut off. |
Hints: Use this to change the number of the program in the RCX. | This piece of code would run program 1. |
Hints: Use this to turn off the RCX's power. | This piece of code would wait for the RCX clock to reach 5 minutes, and then it would turn off power to the RCX. |
Hints: Use this to run a program. | This piece of code would run program 1. |
Hints: This sets the value of a container on another RCX to the specified value. This is similar to the send mail command. It is useful if you have multiple values you want to send to another RCX. | This piece of code will set the Blue Container on another RCX to 1 (the default). |
Hints: This icon is used to start direct communication between 2 RCXs. Commands that appear between this icon and the End Direct RCX Communication icon are sent to another RCX in direct mode (there must be a continuous line of sight between the 2 RCXs). | This piece of code would tell another RCX (in line of sight) to play each of the 3 notes. Because the RCXs are talking in direct mode the other RCX would immediately play the notes. |
Hints: This icon is used to end direct communication between 2 RCXs. Commands that appear between this icon and the Begin Direct RCX Communication icon are sent to another RCX in direct mode (there must be a continuous line of sight between the 2 RCXs). | This piece of code would tell another RCX (in line of sight) to play each of the 3 notes. Because the RCXs are talking in direct mode the other RCX would immediately play the notes. |
Hints: This icon is used to start the downloading of a program from one RCX to another. The commands that are between this icon and the Download Remote Program icon would be downloaded to a 2nd RCX as a program (there must be a continuous line of sight between the 2 RCXs during the download). | This piece of code would download a program containing only the three notes to another RCX. The 2nd RCX would NOT play the notes until the Run button was pressed (or the program was told to run programmatically). |
Hints: This icon is used to end the downloading of a program from one RCX to another. The commands that are between this icon and the Start Remote Program icon would be downloaded to a 2nd RCX as a program (there must be a continuous line of sight between the 2 RCXs during the download). | This piece of code would download a program containing only the three notes to another RCX. The 2nd RCX would NOT play the notes until the Run button was pressed (or the program was told to run programmatically). |
Hints: Use this piece of code to change the powerdown time on the RCX. This can also be done with the Robolab Administrator. | This piece of code sets the powerdown time to 10 minutes. |
Hints: Use this to snap an image during a program. | This piece of code waits until the light sensor reading increases by 5 (the default), and then it snaps an image. |
Hints: Use this icon to fill the mailbox on an RCX with a specific value. Can be used in a program or in direct mode. | This piece of code fills the mailbox with the value of 5 then starts a loop which turns on lamp A. The loop ends when the RCX receives mail whose value is 4 or less. Then the RCX plays a sound and turns off the lamp. |
Hints: Use this command to clear sounds and reset sound settings. This icon can be helpful before events requiring sound input. | This piece of code would clear the RCX sound buffer. |
Hints: Use the Mute Sound icon to put your RCX into silent mode. Mute Sound suppresses all sounds (notes or sounds in a running program, download sounds) except for the sounds made when pressing run, stop, view and On Off buttons. Useful when you want to programmatically create a stealth RCX or when you want to program your RCX in the library. | This piece of code, when run, will mute all further sound (except of those made by pressing RCX buttons). This mute applies to other programs (existing or newly download). The only way to get sound is to include or run the Unmute Sound command. |
Hints: Use the Unmute Sound icon to restore the sound capabilities to your RCX. (This is the opposite of Mute Sound). | This piece of code, when run, will unmute sound on the RCX. |