
Sensing
Forward Until Dark / Light • 9
©
Carnegie Mellon Robotics Academy / For use with LEGO
®
MINDSTORMS® Education NXT software and base set 9797
Forward until Dark Wait for Dark (cont.)
3. Open the Motors and Sensors Setup menu, and go to the Sensors tab.
3a. Open “Motors
and Sensors Setup”
Select Robot > Motors and
Sensors Setup to open the
Motors and Sensors Setup menu.
3b. Select the A/D Sensors tab
Click the “A/D Sensors tab” on the
Motors and Sensors Setup menu.
4b. Make type “Light Active”
Use the dropdown box to make
“Light Active” the sensor type.
4. Use the Motors and Sensors Setup interface to name the S1 sensor “sonarSensor”, then select
“SONAR 9V” as its type.
4a. Name sensor “lightSensor”
Enter the name “lightSensor”
in the S1 name box.
Kommentare zu diesen Handbüchern