DocumentsDate added
This example uses the gyro sensor to change the pitch of the note being played as the gyro sensor is turned. It should be noticed that the gyro sensor can read in positive or in negative, so the sensor must be offset in order to be able to output a sound for all values of the sensor. This example is for the NXT G software.
This code will allow the NXT to directly control the movement and function of a nearby RCX using the IR link sensor. This particular code will turn on the RCX's motor for 3 seconds, then turn that motor off. Note: The code is to be downloaded to the NXT, not the RCX. Also, the IR link sensor must be nearby and/or pointed directly at the RCX to sucessfully transmit the data.
This code uses the Hitechnic IR link sensor to make a nearby RCX make noise. The program is downloaded to an NXT with the IR link sensor. This sensor, when aimed towards the RCX, will send the data to the RCX, telling it to make a specific noise, which the RCX will immediately excecute.
This code will use the IR link sensor to directly control the
function of a nearby RCX. This particular code will turn on two RCX
motor for 1 second, then stop the motors. Note: The code is to be
downloaded to the NXT, not the RCX.
This code will remotely control an RCX using an NXT and an IR Link
sensor. The code to be run by the RCX is built into the program that
the NXT will run. The NXT will send this program to the RCX and run it.
Note: This code will be downloaded to the NXT, not the RCX.
This code uses the NXT and IR link sensor to make the RCX make a
specific noise. Note: The IR link sensor must be places near and/or
aimed at the RCX in order to establish a good connection for the IR
link sensor.
This specific code uses the IR link sensor to read a particular RCX sensor using the NXT.